synacker
synacker

Reputation: 1782

How to trace SOAP request from .NET 4.5

I have service reference to "http://api.microsofttranslator.com/V2/Soap.svc" in my C# project. I want to see what i send in my Http request with SOAP body to this service.

How i can it do?

Upvotes: 1

Views: 1863

Answers (2)

UserControl
UserControl

Reputation: 15159

If you use WCF to access the service you can enable message tracing (as described here) to log SOAP envelops.

Upvotes: 3

sumeet kumar
sumeet kumar

Reputation: 2648

You can use fiddler and other 3rd part dlls with your code to grab the soap messages and other details.

Upvotes: 1

Related Questions