Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / May 2005

Tip: Looking for answers? Try searching our database.

How to log raw SOAP response msg?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bob - 20 Apr 2005 16:35 GMT
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
Mat Kramer - 22 Apr 2005 19:34 GMT
If you only need to do this for debug or troubleshooting, you should
consider AmberPoint Express (free).  See http://express.amberpoint.com/

-Mat

> 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
[quoted text clipped - 7 lines]
> Thanks
> Bob
jon - 03 May 2005 22:57 GMT
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
joneisen1@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

> 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
[quoted text clipped - 5 lines]
> Thanks
> Bob
erymuzuan - 05 May 2005 04:37 GMT
you can utilise SOAPExtension which exposes the response and request
stream. and you have the ability to change them too. override the
ProcessMessage(SoapMessage message) method to get into the stream

regards
erymuzuan mustapa

> 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
[quoted text clipped - 23 lines]
>>Thanks
>>Bob

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.