Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The NEFTConverter component is used to convert NEFT/RTGS transactions from XML format to NEFT/RTGS format or vice-versa.

Configuration and Testing

...

Fixed values: Fixed values are mandatory fields which should appear in the NEFT/RTGS input and each element for corresponding field appears only once in the NEFT/RTGS input for NEFT to XML conversion. For XML to NEFT/RTGS conversion, if the input xml does not contain the element defined in the Fixed values panel, default value defined in the CPS will be used for conversion from XML to NEFT/RTGS, otherwise the value associated with the element will be used for the conversion.

Repeating values: Repeating values work the same way as Fixed values above except that they are optional and the repeating block of elements can be repeated 0 to N number of times. In case of multiple repetitions in NEFT/RTGS to Xml conversion whole block of repeating elements should repeat in the given input.

Data Type : User has to select data type from the dropdown menu which are the values loaded from the Data Type configuration panel. Field value will be validated against this specified data type while conversion.

Length Type: The length of the value for a particular field can be defined in Length type, max length and min length.

...

Use child as new line: If user add a child and select 'use child as new line' as True, a new line character will be added at the end to the child value and the child values will be joined together to form the parent element comprising all the children values as a separate line. This option is useful when entering large data like addresses, transaction info etc. as they would require multiple lines of text. This field should be set for only parent element of the child, for the child element this field will be disabled.

Description : Description will be used for field element name in schema generation which can't be null or empty

Value: For XML to NEFT/RTGS conversion, if the input message does not contain a particular field element then its default value will be taken from here.

Add Child: This button is used to add child to a particular field for Fixed or Repeating value. User can only add child to Parent fields.

UP/Down: Using these buttons user can navigate any field up or down in NEFT/RTGS message but for any child field user can only move the data among its siblings.

 
Figure 3: NEFT/RTGS Block4 (Body) Message Configuration panel

...

Connect Feeder component to the input port and Display component to the output port of the NEFTConverter. Configure the component to XML to NEFT/RTGS mode, and set the schema in the Feeder input. For each header field, there will be a corresponding element in the input XML. If the element for the header field is not present in input XML its default value (as configured in CPS) will be picked for NEFT/RTGS conversion, otherwise the value associated with the element in the input will be used for the conversion.

Sample Input

Code Block
<ns1:neftfield xmlns:ns1="http://www.fiorano.com/fesb/activity/neft_rtgs_converter">

...


   <ns1:blockA_header>

...


      <ns1:HF_Date>25052012 </ns1:HF_Date>

...


      <ns1:HF_MUR>521416542 </ns1:HF_MUR>

...


   </ns1:blockA_header>

...


   <ns1:block4_message>

...


      <ns1:fixed>

...


         <ns1:TransactionRef_2020>TransactionR </ns1:TransactionRef_2020>

...


         <ns1:RelatedRef_2006>RelatedRe </ns1:RelatedRef_2006>

...


         <ns1:ClearingEntity_6726>gsdgsd12345 </ns1:ClearingEntity_6726>

...


         <ns1:ClearingType_8191>CD </ns1:ClearingType_8191>

...


         <ns1:ReturnIndicator_6448>G </ns1:ReturnIndicator_6448>

...


         <ns1:LastReturnIndic_6426>L </ns1:LastReturnIndic_6426>

...


         <ns1:SenderToRecInfo_7495>

...


            <ns1:Line1_Child7.01>Line1_Child7.0, df1, fsfef, sf </ns1:Line1_Child7.01>

...


            <ns1:Line2_Child7.02>Line2_Child7.02, fdfsf </ns1:Line2_Child7.02>

...


            <ns1:Line3_Child7.03>Line3_Child7.03 </ns1:Line3_Child7.03>

...


            <ns1:Line4_Child7.04>Line4_Child7.04 </ns1:Line4_Child7.04>

...


            <ns1:Line5_Child7.05>Line5_Child7.05 </ns1:Line5_Child7.05>

...


            <ns1:Line6_Child7.06>Line6_Child7.06 </ns1:Line6_Child7.06>

...


         </ns1:SenderToRecInfo_7495>

...


      </ns1:fixed>

...


      <ns1:repeating>

...


         <ns1:ClearingParty_6656>124536_6656 </ns1:ClearingParty_6656>

...


         <ns1:NetClearingValue_4276>

...


            <ns1:CreditDebit_Child2.01>D </ns1:CreditDebit_Child2.01>

...


            <ns1:Value_Child2.02>15254,00 </ns1:Value_Child2.02>

...


         </ns1:NetClearingValue_4276>

...


      </ns1:repeating>

...


   </ns1:block4_message>

...


</ns1:neftfield>

Sample Output

{HDFC0001543ICIC000475225052012521416542}{4::2020:TransactionR:2006:RelatedRe:6726:gsdgsd12345:8191:CD:6448:G:6426:L:7495:Line1_Child7.0, df1, fsfef, sfLine2_Child7.02, fdfsfLine3_Child7.03Line4_Child7.04Line5_Child7.05Line6_Child7.06:6656:124536_6656:4276:D15254,00-}

...

Connect Feeder component to the input port and Display component to the output port of the NEFTConverter. Configure the component to NEFT/RTGS to XML mode, and set the NEFT/RTGS Message with block A and block 4 as the default input in the Feeder. The fields configured in the CPS for Header message will be used for converting the NEFT/RTGS transaction to XML and field values will be validated as per the configuration setup in the component CPS.

Sample Input

{HDFC0001543ICIC000475225052012521416542}{4::2020:TransactionR:2006:RelatedRe:6726:gsdgsd12345:8191:CD:6448:G:6426:L:7495:Line1_Child7.0, df1, fsfef, sfLine2_Child7.02, fdfsfLine3_Child7.03Line4_Child7.04Line5_Child7.05Line6_Child7.06:6656:124536_6656:4276:D15254,00-}

Sample Output

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<ns1:neftfield xmlns:ns1="http://www.fiorano.com/fesb/activity/neft_rtgs_converter">
   <ns1:blockA_header>
      <ns1:HF_Date>25052012</ns1:HF_Date>
      <ns1:HF_MUR>521416542</ns1:HF_MUR>
   </ns1:blockA_header>
   <ns1:block4_message>
      <ns1:fixed>
         <ns1:TransactionRef_2020>TransactionR</ns1:TransactionRef_2020>
         <ns1:RelatedRef_2006>RelatedRe</ns1:RelatedRef_2006>
         <ns1:ClearingEntity_6726>gsdgsd12345</ns1:ClearingEntity_6726>
         <ns1:ClearingType_8191>CD</ns1:ClearingType_8191>
         <ns1:ReturnIndicator_6448>G</ns1:ReturnIndicator_6448>
         <ns1:LastReturnIndic_6426>L</ns1:LastReturnIndic_6426>
         <ns1:SenderToRecInfo_7495>
            <ns1:Line1_Child7.01>Line1_Child7.0, df1, fsfef, sf</ns1:Line1_Child7.01>
            <ns1:Line2_Child7.02>Line2_Child7.02, fdfsf</ns1:Line2_Child7.02>
            <ns1:Line3_Child7.03>Line3_Child7.03</ns1:Line3_Child7.03>
            <ns1:Line4_Child7.04>Line4_Child7.04</ns1:Line4_Child7.04>
            <ns1:Line5_Child7.05>Line5_Child7.05</ns1:Line5_Child7.05>
            <ns1:Line6_Child7.06>Line6_Child7.06</ns1:Line6_Child7.06>
         </ns1:SenderToRecInfo_7495>
      </ns1:fixed>
      <ns1:repeating>
         <ns1:ClearingParty_6656>124536_6656</ns1:ClearingParty_6656>
         <ns1:NetClearingValue_4276>
            <ns1:CreditDebit_Child2.01>D</ns1:CreditDebit_Child2.01>
            <ns1:Value_Child2.02>15254,00</ns1:Value_Child2.02>
         </ns1:NetClearingValue_4276>
      </ns1:repeating>
   </ns1:block4_message>
</ns1:neftfield>

...

Connect Feeder component to the input port and Display component to the output port of the NEFTConverter. Configure the component to XML to NEFT/RTGS mode, and set the schema in the Feeder input.

Sample Input

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<ns1:neftfield xmlns:ns1="http://www.fiorano.com/fesb/activity/neft_rtgs_converter">
   <ns1:blockA_header>
      <ns1:HF_Date>25052012</ns1:HF_Date>
      <ns1:HF_MUR>521416542</ns1:HF_MUR>
   </ns1:blockA_header>
   <ns1:block4_message>
      <ns1:fixed>
         <ns1:TransactionRef_2020>TransactionR</ns1:TransactionRef_2020>
         <ns1:ClearingType_8191>CD</ns1:ClearingType_8191>
         <ns1:LastReturnIndic_6426>L</ns1:LastReturnIndic_6426>
         <ns1:SenderToRecInfo_7495>
            <ns1:Line1_Child7.01>Line1_Child7.0, df1, fsfef, sf</ns1:Line1_Child7.01>
            <ns1:Line2_Child7.02>Line2_Child7.02, fdfsf</ns1:Line2_Child7.02>
            <ns1:Line3_Child7.03>Line3_Child7.03</ns1:Line3_Child7.03>
            <ns1:Line4_Child7.04>Line4_Child7.04</ns1:Line4_Child7.04>
            <ns1:Line5_Child7.05>Line5_Child7.05</ns1:Line5_Child7.05>
            <ns1:Line6_Child7.06>Line6_Child7.06</ns1:Line6_Child7.06>
         </ns1:SenderToRecInfo_7495>
      </ns1:fixed>
      <ns1:repeating>
         <ns1:ClearingParty_6656>124536_6656</ns1:ClearingParty_6656>
         <ns1:NetClearingValue_4276>
            <ns1:CreditDebit_Child2.01>D</ns1:CreditDebit_Child2.01>
            <ns1:Value_Child2.02>15254,00</ns1:Value_Child2.02>
         </ns1:NetClearingValue_4276>
      </ns1:repeating>
   </ns1:block4_message>
</ns1:neftfield>

...

Adaptavist ThemeBuilder EngineAtlassian Confluence