I've got the same issue. If anyone can inform how to do this could you
forward me the reply. I'll do the same if you send me your email. Mine is
jo*******@hotmail.com.
Ideally I want to log the request and the response SOAP messages to/from a
web service method call.
One thing I've investigated is using the <methodname>Async version of the
method call, implementing a trivial eventhandler method that will be called
on completion of the Async call, and then trying to probe (in the debugger)
the "sender" parameter that the handler method recieves. It seems that all
the SOAP header and body data is there, and some references to a
RequestStream and ResponseStream, which sounds promising. But so far I have
not got it to dump the soap message.
Thanks,
Jon
"Bob" wrote:
The .NET web service proxy class is great for transparent app process via
SOAP calls. I have a need to log the raw SOAP response messages. Is there
an easy way to do this? I saw there is already a thread about intercepting
SOAP request messages and someone suggested programming SOAP Extensions to
do it. I'm trying to see if there is an easier way since all I need is to
get the message in either a string or stream, and save it somewhere.
Thanks
Bob