Hi Chanaka, I have attached the wireshark captures for both of these scenarios. First file contains the capture when the sample is executed as it is and second with the changes. According to the capture ESB sends the response back to the client as a SOAP message when it is executed as it is.
On Mon, Apr 7, 2014 at 5:07 PM, Chanaka Fernando <chana...@wso2.com> wrote: > Hi Samith, > > Can you elaborate more on the response you are getting when you are > executing the sample as it is? What is the response you are getting to the > client side? > > Thanks, > Chanaka > > > On Mon, Apr 7, 2014 at 3:41 PM, Samith Dassanayake <sam...@wso2.com>wrote: > >> Hi All, >> >> In ESB sample 50[1], where the client is REST and back-end service is >> SOAP, ESB sends the response back to the client as a SOAP message! >> According to the documentation[2] it should be a POX message. >> On the other hand when I add "<log level="full">" before the send tag in >> the out sequence, ESB sends the response back as a POX message. >> >> Is this a defect? If not could you please explain why we are getting such >> a behavior? >> >> [1] >> https://docs.wso2.org/display/ESB481/Sample+50:+POX+to+SOAP+conversion >> [2] https://docs.wso2.org/display/ESB481/Using+REST+with+a+Proxy+Service >> >> -- >> Best Regards >> >> Samith Dassanayake >> Software Engineer, WSO2 Inc. >> Mobile: +94776207351 >> >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > -- > Chanaka Fernando > Technical Lead > WSO2, Inc.; http://wso2.com > lean.enterprise.middleware > > mobile: +94 773337238 > Blog : http://soatutorials.blogspot.com > LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 > Twitter:https://twitter.com/chanakaudaya > Wordpress:http://chanakaudaya.wordpress.com > > > > -- Best Regards Samith Dassanayake Software Engineer, WSO2 Inc. Mobile: +94776207351
esb_sample_50_wsCapture_original.pcapng
Description: Binary data
esb_sample_50_wsCapture_with_changes.pcapng
Description: Binary data
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev