Hi Vova,
Let me share my understanding. When you try to send a syncronous message to another service through CSF session, you typically set a Action, and when CSF session receives your message, it examines the (Soap)Action in the message and routes the message to the sevice for which criteria evaluates to true (the channel used for sending this initial message is kept open as it is a syncronous call).
Now when the second service receives this message, it sends back response to CSF Session, but with its own Action (typically MethodNameResponse). When CSF Session intercepts this response from second service, it will route this message to the participant for which routing critiria evaluates to true. And here the syncronus call you made in begining will never get any response as the response sent by CSF session will be on a different channel.
To make sure that CSF returned a response, you can check the _OutputTrace.webconfig file.
I think synshronous messaging works only when two services interact directly and not through CSF Session.
Thanks,
Ashish Malhotra
|