views:

171

answers:

1

Hi

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

+2  A: 

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.

Jon Skeet
thanks jon. I just want this for debugging purposes..I tried using fiddler but it is not detecting the calls made from my C# proxy class to the webservice (runs on remote machine). It is however detecting the internet traffic.Any suggestions what could be missing from my settings?
stackoverflowuser
Are you wanting to capture traffic between your box and a network box, or between two separate network boxes that are not your box?
drachenstern
my bad. its detecting the traffic. @drachenstern: its between my box and a network box.
stackoverflowuser
Ok, just making sure, because if it wasn't detecting traffic you were probably looking at something a lot more complex ... Fiddler2 is pretty excellent...
drachenstern