title: SOAP Request Fails when parameter is supplied
body: <p>When i call my Soap ASMX service with the parameter orderid , it fails and says . Any ideas?</p>
  
  <pre><code>System.InvalidOperationException: Request format is invalid: text/xml; charset=utf-8.
     at System.Web.Services.Protocols.HttpServerProtocol.ReadParameters()
     at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()
  </code></pre>
  
  <blockquote>
    <p>public class Service1 : System.Web.Services.WebService
        {</p>
  
  <pre><code>    [WebMethod(EnableSession=true)]
      [SoapDocumentMethod]
  
      public Order MyLiteralMethod([XmlElement("MyOrderID")] string orderId)
      {
  
         //logic
      }
  }
  </code></pre>
  </blockquote>
  
  <p><strong>FIDDLER REQUEST HEADER</strong></p>
  
  <pre><code>Host: localhost:49033
  Content-Type: text/xml; charset=utf-8
  Content-Length: 369
  SOAPAction: "http://tempuri.org/MyLiteralMethod"
  </code></pre>
  
  <p><strong>FIDDLER REQUEST BODY</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt;
    &lt;soap:Body&gt;
      &lt;MyLiteralMethod xmlns="http://tempuri.org/"&gt;
        &lt;MyOrderID&gt;sdasd&lt;/MyOrderID&gt;
      &lt;/MyLiteralMethod&gt;
    &lt;/soap:Body&gt;
  &lt;/soap:Envelope&gt;
  </code></pre>
  
  <p><strong>FURTHER FINDINGS</strong>
  I am able to call the service and pass parameter from other web debugging proxy tools[STORM]. I think this is specific to fiddler</p>
  
  <p><strong>Problem Resolved</strong></p>
  
  <p>Seems like a issue with fiddler .went into tools->options->https.. Removed decrypt HTTPs traffic.. Restarted fiddler. Then re added those options back again and restarted. I dont know if this process solved the problem but i am able to make request via fiddler.</p>