views:

673

answers:

2

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

The Thing is I have created a HTML page at http://bugmusic.cyndigo.com/CallWebService.html

and its returning an Error Server did not recognize the value of HTTP Header SOAP.

I am not able to find the bug.

A: 

add or remove the httppost, httpget protocols. like below:

in your Web.config

<webServices>
<protocols>
<add name="HttpPost"/>
<add name="HttpGet"/>
</protocols>
</webServices>

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

March
I guess your Answer is Incomplete
Still the same problem
+1  A: 

I think the problem is you could not make request to another domain (cross domain).

Take a look here: http://www.fettig.net/weblog/2005/11/28/how-to-make-xmlhttprequest-connections-to-another-server-in-your-domain/