How to log Soap Message created by .Net Client's Proxy Class

Hello,

I am working on .Net Web Service Client to consume a Java Axis Web Service from the third party. For debuging purpose, I would like to get soap message being created by .Net Proxy Class. Can anybody tell me how to get the information?

Many Thanks in advance.

-Qing

[291 byte] By [Qing] at [2008-2-15]
# 1
The real problem is not how but which one. there at least half a dozen way of doing this.

setting up a sniffer, is basically the best, it requires little or no change to configuration or code at all. you can find good sniffers everywhere , I like SOAPScope or Axis tcp monitor.

the second best option is to enable WSE for your project, then enebale the trace option.

another option is to override proxys' GetWebRequest and GetWebResponse method.

erymuzuan at 2007-9-8 > top of Msdn Tech,.NET Development,ASMX Web Services and XML Serialization...

.NET Development

Site Classified