Groups | Blog | Home
all groups > dotnet web services enhancements > september 2004 >

dotnet web services enhancements : SoapClient SendRequestResponse and ReplyTo


tstephan NO[at]SPAM gmail.com
9/30/2004 12:18:50 PM
I have written a simple soap client and server using the SoapClient
and SoapServer class. I had been setting the ReplyTo address but it
seems that the element is ignored. Reading the WSE 2.0 spec it states
that it will use the back channel if a return address can not be
generated. Analyzing the SOAP msgs the ReplyTo field is correctly
set. What might I be doing wrong? Just a small addendum - I had been
attempting to set the port on the return address when I noticed the
whole ReplyTo was being ignored.

Thanks,
Ramadass
9/30/2004 3:23:44 PM
You have to add the following to your configuration.
<allowRedirectedResponses enabled="true" /> to either your web.config or
your app.config.
By default this is disabled and as a result the replyTo does not work.
Hope this helps..
Ramadass

[quoted text, click to view]

tstephan NO[at]SPAM gmail.com
10/4/2004 9:34:15 AM
I was looking for a programmatic solution - I didn't even bother to
check the cfg file. That worked great, thanks!
Todd

[quoted text, click to view]
AddThis Social Bookmark Button