views:

110

answers:

3

I am building a web site that consumes an external web service. I have added the WSDL of the external service as reference to my site. How do i view the contents of the SOAP envelope that is sent as request when i call the web method in the external service.

I get an "XML Parse Exception" when i make the web service call. So i want to see the contents of the SOAP envelope that is being sent as request.

**EDIT: I found an article that does exactly what i want:

http://blog.encoresystems.net/articles/how-to-capture-soap-envelopes-when-consuming-a-web-service.aspx**

A: 

Check out a tool called Fiddler.

Dan
+1  A: 

There is a somewhat similar question already here on SO: .NET Log Soap Request on Client.

Tools that are suggested are:

Zaagmans
+2  A: 

**EDIT: I found an article that does exactly what i want:

http://blog.encoresystems.net/articles/how-to-capture-soap-envelopes-when-consuming-a-web-service.aspx**

Nick