× Discuss on T24 Installation, Setting up the environment, TC Server, jBOSS, Package & Deployment, etc…

OFSML Message Request Sample

  • MasterL
  • Topic Author
  • Visitor
  • Visitor
10 years 2 months ago #17237 by MasterL
OFSML Message Request Sample was created by MasterL
Hi guys,

Can anyone share a sample OFSML? I have googled and researched this info, including the Temenos portal, with no success.
I intend to test this using tSS

Two scenarios:

Username: TEST01
Password: 123456
Company: GB0010001

Scenario 1: Enquiry
Enquiry: STMT.ENT.BOOK
Field: ACCOUNT
Operand: EQ
Value: 46191
Field: BOOKING.DATE
Operand: GE
Value: 20100101

Scenario 2: Transaction
Version: FUNDS.TRANSFER,TEST
Field: DEBIT.ACCT.NO
Value: 46191
Field: DEBIT.CURRENCY
Value: USD
Field: DEBIT.AMOUNT
Value: 1000
Field: CREDIT.ACCT.NO
Value: 23067

I am using the predefined XML OFS.SOURCE
OFS SOURCE SEE

     SOURCE.NAME....... XML
 -----------------------------------------------------
   1 DESCRIPTION....... XML integration into OFS
   2 SOURCE.TYPE....... BATCH
   4. 1 EB.PHANT.ID.... XML
   5 MAX.CONNECTIONS... 1
  13 LOG.FILE.DIR...... XML.LOG
  14 LOG.DETAIL.LEVEL.. EXCEPT
  17 DET.PREFIX........ XML
  18 IN.QUEUE.DIR...... XML.IN
  20 OUT.QUEUE.DIR..... XML.OUT
  24 SYNTAX.TYPE....... XML
  26 GENERIC.USER...... INPUTTER

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #17245 by ambdev
Replied by ambdev on topic OFSML Message Request Sample
Below xml samples aren't OFSML but are accepted as input to tSS on jShell
<ofsSessionRequest>
    <requestType>OFS.ENQUIRY</requestType>
    <requestArguments>
        <userInformation>
            <userSignOnName>TEST01</userSignOnName>
            <userPassword>123456</userPassword>
            <companyCode>GB0010001</companyCode>
        </userInformation>
        <application>ENQ</application>
        <operation>ENQUIRY.SELECT</operation>
        <name>STMT.ENT.BOOK</name>
        <criteria>
            <fieldName>ACCOUNT</fieldName>
            <operand>EQ</operand>
            <value>46191</value>
        </criteria>
        <criteria>
            <fieldName>BOOKING.DATE</fieldName>
            <operand>GE</operand>
            <value>20100101</value>
        </criteria>
    </requestArguments>
</ofsSessionRequest>

<ofsSessionRequest>
    <requestType>OFS.APPLICATION</requestType>
    <requestArguments>
        <userInformation>
            <userName>TEST01</userName>
            <password>123456</password>
            <companyCode>GB0010001</companyCode>
        </userInformation>
        <application>FUNDS.TRANSFER</application>
        <version>TEST</version>
        <ofsFunction>I</ofsFunction>
        <ofsOperation>VALIDATE</ofsOperation>
        <transactionId></transactionId>
        <message>
            <field>
                <fieldName>DEBIT.ACCT.NO</fieldName>
                <multiValueNumber>1</multiValueNumber>
                <subValueNumber>1</subValueNumber>
                <value>46191</value>
            </field>
            <field>
                <fieldName>DEBIT.CURRENCY</fieldName>
                <multiValueNumber>1</multiValueNumber>
                <subValueNumber>1</subValueNumber>
                <value>USD</value>
            </field>
            <field>
                <fieldName>DEBIT.AMOUNT</fieldName>
                <multiValueNumber>1</multiValueNumber>
                <subValueNumber>1</subValueNumber>
                <value>1000</value>
            </field>
            <field>
                <fieldName>CREDIT.ACCT.NO</fieldName>
                <multiValueNumber>1</multiValueNumber>
                <subValueNumber>1</subValueNumber>
                <value>23067</value>
            </field>
        </message>
    </requestArguments>
</ofsSessionRequest>

This is a simple way to test the messages
jShell command: tSS TCSXML

Definition of TCSXML in OFS.SOURCE:

SOURCE.NAME       TCSXML
-----------------------------------
Description       TEMENOS CONNECTOR
Source Type       TELNET
Login Id.1        any
Max Connections   10
Log File Dir      TCSXML.LOG
Log Detail Level  EXCEPT
Syntax Type       XML
Generic User      INPUTTER
Same Authoriser   YES

Regards
The following user(s) said Thank You: MasterL

Please Log in or Create an account to join the conversation.

Time to create page: 0.026 seconds