Hi Team,

In ESB ISO connector, the response which is received from an ISO server (or
device) is embedded with the request itself. Then, the client which invokes
the message get both request and response.

For example,

*Request *

     <ISOMessage>
         <data>
            <field id="0" value="0200"/>
            <field id="2" value="34563"/>
         </data>
      </ISOMessage>

*Response*

      <ISOMessage>
         <data>
            <field id="0" value="0200"/>
            <field id="2" value="34563"/>
         </data>
      </ISOMessage>
      <ISOMessage>
         <data>
            <field id="0">0210</field>
            <field id="2">0014</field>
         </data>
      </ISOMessage>


I had an offline chat with Kanapriya and seems like it was implemented such
manner as per [1]. What is the reason for such approach? I don't think it
is a correct approach. Whether other connectors have the similar
implementation?


[1] https://github.com/wso2-extensions/esb-connector-
iso8583/blob/master/src/main/java/org/wso2/carbon/connector/ISO8583/
ISO8583MessageHandler.java#L115

Thanks,
Mohan

-- 
*V. Mohanadarshan*
*Associate Tech Lead,*
*Data Technologies Team,*
*WSO2, Inc. http://wso2.com <http://wso2.com> *
*lean.enterprise.middleware.*

email: [email protected]
phone:(+94) 771117673
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to