Why does "anonymous" address present in response messages?  
Author Message
Mikhail Matveev





PostPosted: Connected Services Framework, Why does "anonymous" address present in response messages? Top

Hello all,

I'm currently using CSF v.2.5 and develop own sample application. The goal of this application is compute monthly payments on a loan and total overpayment of credit. The following participants are involved with:

UIParticipant - WinForms client

BankDirectoryParticipant - Provide information about credits programmes.

CalculatorParticipant - Computes annuity and overpayment

BusinessLogicParticipant - Session driver

Here is the sample manifest:

 
 
Ruchi





PostPosted: Connected Services Framework, Why does "anonymous" address present in response messages? Top

Even the "ReplyTo" tag has the same address

<wsa:ReplyTo>
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
</wsa:ReplyTo>


 
 
Senthil-msft





PostPosted: Connected Services Framework, Why does "anonymous" address present in response messages? Top

Ruchi - As per the WS-Addressing spec if the ReplyTo / From is Anonymous URI (http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous) in case of HTTP request the response is sent in the same channel in other words synchronously.

For more information you could read the WS-Addressing spec in the following URL.

http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnglobspec/html/ws-addressing.asp

So when you specify in the ParticipantManifest mode="TwoWay" in V2.5 or InChannelResponse="True" in V3.0 Session will put the Anonymous URI in the From and ReplyTo while calling the service.

As per the spec, the Service will respond back in the same channel to Session. That's the reason why Session is able to receive the response back and able to route the message.

Thanks