Debugging Web Service Calls RRS feed

  • Question

  • Fiddler2 is a useful tool for debugging and capturing HTTP and HTTPS SOAP headers when making web service calls. Sometimes web service calls fail because the SOAP header was formed improperly. Each SOAP/XML tag is case sensitive, for example.


    You can download Fiddler2 from here:




    There is one trick to get Fiddler2 to work, as mentioned at:




    You may need to add the Fiddler cert to the Trusted Root Cert Folder. When you follow these instructions on the FAQ, you may see the cert located in the Personal cert folder. Just drag it into the Trusted folder.


    Also, if you are debugging a .NET client and get the following exception: System.Net.WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server, click Rules > Customize Rules. Scroll down to the OnBeforeResponse handler and uncomment as directed.


    Happy debugging!


    Jeff Dillon, Microsoft adCenter API Technical Support

    Thursday, April 12, 2007 7:13 PM