Hello Tom,
Normally, for interactive diagnostic, we will use some trace utiilty like
tcptrace , soaptoolkit+traceutility. For your scenario, if you want to
programmatically capture the message and log it, you can consider using
soapExtension as Ron suggested. Soap Extension can be used at both
clientside and server-side of webservice. Here are some reference articles
you can have a look.
#Fun with SOAP Extensions
http://msdn2.microsoft.com/en-us/library/ms972353.aspx
#Using SOAP Extensions in ASP.NET
http://msdn.microsoft.com/msdnmag/is...n/default.aspx
#How to: Implement a SOAP Extension
http://msdn2.microsoft.com/en-us/library/7w06t139.aspx
Hope this helps.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.