Server did not recognize the HTTP Header SOAP value

You can find the WSDL for my Jobs.asmx webService here. http://recpushdata.cyndigo.com/jobs.asmx

Thing - I created an HTML page at http://bugmusic.cyndigo.com/CallWebService.html

and its return to the error server did not recognize the SOAP HTTP header value.

I cannot find the error.

+1


source to share


1 answer


add or remove httppost, httpget protocols. as shown below:

in your Web.config



&lt;webServices&gt;<br>
&lt;protocols&gt;<br>
&lt;add name=&quot;HttpPost&quot;/&gt; <br>
&lt;add name=&quot;HttpGet&quot;/&gt; <br>
&lt;/protocols&gt;<br>
&lt;/webServices&gt;<br>

in your machine.config:<br>
&lt;system.web&gt;<br>
    ...<br>
    &lt;webServices&gt;<br>
        &lt;protocols&gt;<br>
              &lt;add name="HttpSoap"/&gt;<br>
              &lt;add name="HttpPost"/&gt;<br>
              &lt;add name="HttpGet"/&gt;<br>
              &lt;add name="Documentation"/&gt;<br>
              &lt;add name="HttpPostLocalhost"/&gt;<br>
        &lt;/protocols&gt;<br>
    &lt;/webServices&gt;<br>
    ...<br>
&lt;/system.web<br>

      

0


source







All Articles