I think this behavioud is because of the dual channel mode.

See: (from documentation)
"In the above example, the request received is forwarded to the sample
service hosted on Axis2 and the endpoint specifies to enable addressing and
do the invocation over a dual channel. If you observe this message flow by
using a TCPmon, you could see that on the channel you send the request to
synapse the response has been written as an HTTP 202 Accepted, where as the
real response from synapse will come over a different channel which cannot
be observed unless you use tcpdump to dump all the TCP level messages.

At the same time you can observe the behavior of the invocation between
synapse and the actual Axis2 service, where you can see a 202 Accepted
message being delivered to synapse as the response to the request. The
actual response will be delivered to synapse over a different channel."


On Thu, Dec 5, 2013 at 10:18 AM, Maduranga Siriwardena
<[email protected]>wrote:

> this is the wire log for the message from esb to server
> https://gist.github.com/madurangasiriwardena/7800197
>
>
> On Thu, Dec 5, 2013 at 9:35 AM, Maduranga Siriwardena 
> <[email protected]>wrote:
>
>> Hi all,
>> In sample 155 [1] (dual channel invocation on both client side and the
>> server side of synapse with proxy services) both client - esb and esb -
>> server connections are dual channel. When the esb sends a request to the
>> server how does the server knows which address to reply? I can't see any
>> header or something is set about replying address. There is a reply to
>> element in the header of the soap message. But it does not contain a proper
>> address. The text in the reply to element is "
>> http://maduranga-Dell-System-Vostro-3450:8280/services/__ADDR_ONLY__";.
>>
>>
>> [1]
>> http://docs.wso2.org/display/ESB480/Sample+155%3A+Dual+Channel+Invocation+on+Both+Client+Side+and+Server+Side+of+Synapse+with+Proxy+Services
>>
>> Thank you.
>>
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Thanks & regards,
Nirmal

Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to