stackoverflowuser
stackoverflowuser

Reputation: 22380

Capture incoming and outgoing soap request

I have a C# console application that calls SSRS soap based webservice (service runs on a remote machine). I want to capture the incoming and outgoing soap request.

How can this be done?

Thanks

Upvotes: 3

Views: 7635

Answers (1)

Jon Skeet
Jon Skeet

Reputation: 1500873

Is this just for debugging purposes? If so, Fiddler is probably your best bet. Wireshark is also great, but it doesn't do the HTTPS stuff that Fiddler does.

It's possible to capture the data on the service side by effectively adding an incoming and outgoing filter which just passes the data along, logging it as it goes - but that's slightly fiddly from what I remember. Worth the effort if you're trying to do this for long-term audit etc, but for simple inspection I'd go with Fiddler.

Upvotes: 5

Related Questions