How to view ASMX SOAP using Fiddler2?

Does anyone know if Fiddler can display the raw SOAP messages for ASMX web services? I'm testing a simple web service using both Fiddler2 and Storm and the results vary (Fiddler shows plain xml while Storm shows the SOAP messages). See sample request/responses below:

Fiddler2 Request:

POST /webservice1.asmx/Test HTTP/1.1
Accept: */*
Referer: http://localhost.:4164/webservice1.asmx?op=Test
Accept-Language: en-us
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; MS-RTC LM 8)
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
Host: localhost.:4164
Content-Length: 0
Connection: Keep-Alive
Pragma: no-cache

Fiddler2 Response:

HTTP/1.1 200 OK
Server: ASP.NET Development Server/
Date: Thu, 21 Jan 2010 14:21:50 GMT
X-AspNet-Version: 2.0.50727
Cache-Control: private, max-age=0
Content-Type: text/xml; charset=utf-8
Content-Length: 96
Connection: Close
<?xml version="1.0" encoding="utf-8"?>
<string xmlns="">Hello World</string>

Storm Request (body only):

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="" xmlns:xsd="" xmlns:soap="">
    <Test xmlns="" />

Storm Response:

 Status Code: 200
 Content Length : 339
 Content Type: text/xml; charset=utf-8
 Server: ASP.NET Development Server/
 Status Description: OK

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="" xmlns:xsi="" xmlns:xsd="">
    <TestResponse xmlns="">
      <TestResult>Hello World</TestResult>

Thanks for any help.


The response is different because the requests are different. Your Fiddler2 request contains no content and no SOAP headers, so the response it gets is the standard XML response.

Your Storm request, on the other hand, is posting a SOAP request body (and, I assume, SOAP request headers despite them not being included). Because the webservice was called using SOAP, the response will be SOAP.

Fiddler doesn't know anything about SOAP. It's showing you what's on the wire.

Need Your Help

Controlling when the Static Constructor is called

c# attributes static-constructor

In my custom attribute's static constructor, I search the loaded assembly for all classes decorated with my attribute and perform some action on them.

Which filed is best Dynamic CRM or hardcore Dot Net Web developer .net dynamics-crm-2011 dynamics-crm-4

I am a dot web developer and recently I got an offer for CRM technical consultant from a company so I'm confused about that should I accept that offer or proceed with my recent field. so I need exp...