3

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

stackoverflowuser
  • 22,212
  • 29
  • 67
  • 92

1 Answers1

5

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
  • 1,421,763
  • 867
  • 9,128
  • 9,194
  • 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 May 12 '10 at 20:41
  • Are you wanting to capture traffic between your box and a network box, or between two separate network boxes that are not your box? – jcolebrand May 12 '10 at 20:42
  • my bad. its detecting the traffic. @drachenstern: its between my box and a network box. – stackoverflowuser May 12 '10 at 20:44
  • 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... – jcolebrand May 12 '10 at 20:48
  • Just installed fiddler for this same problem. Got it working & inspecting the xml within about 2 minutes of install. Too easy! – mike Aug 22 '12 at 02:57
  • Worth adding here is also TCP mon from apache. And wireshark does HTTPS also. – Olimpiu POP Feb 11 '13 at 13:22