Re: [Dev] [DEV] Response appends with Request in ISO Connector

2017-02-01 Thread Isuru Wimalasundera
Hi Mohan

I too think it is not necessary. AFAIR in ISO8583 the parameters you send
in 0200 requests does get return in 0210 response body.

IsuruW

On Wed, Feb 1, 2017 at 7:15 PM, Mohanadarshan Vivekanandalingam <
mo...@wso2.com> wrote:

> 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 *
>
>  
>  
> 
> 
>  
>   
>
> *Response*
>
>   
>  
> 
> 
>  
>   
>   
>  
> 0210
> 0014
>  
>   
>
>
> 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  *
> *lean.enterprise.middleware.*
>
> email: mo...@wso2.com
> phone:(+94) 771117673 <077%20111%207673>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Isuru Wimalasundera*
Associate Technical Lead;
WSO2 Cloud; http://cloud.wso2.com
WSO2, Inc.; http://wso2.com,
mobile: +94 77 920 5641
Blog : http://isurupw.blogspot.com/




___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DEV] Response appends with Request in ISO Connector

2017-02-01 Thread Mohanadarshan Vivekanandalingam
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 *

 
 


 
  

*Response*

  
 


 
  
  
 
0210
0014
 
  


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  *
*lean.enterprise.middleware.*

email: mo...@wso2.com
phone:(+94) 771117673
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev