Webservice works only with SOAP, not HTTP POST/GET

I created a webservice that works well. I can retrieve info from it with SOAP and that works good. But what I miss is the HTTP POST and GET functionality.

f.e. MyWebservice.asmx/SearchFor Searchtext=blabla

The error I receive is:

Request format is unrecognized for URL unexpectedly ending in '/SearchFor/'.

In the info at /MyWebservice.asmx op=SearchFor the info about HTTP POST and GET is also missing.

What setting do I have to change to solve this

Looking forward to a reply




Answer this question

Webservice works only with SOAP, not HTTP POST/GET

  • Cory.Isakson

    Elena thanx a lot for this reference, I lost so much time looking for a solution for this problem..
  • phatrice

    Thank You Elena,

    That works perfect. I search for it for a long period and this works right away! Thanks,

    Adrey



  • Wentzel

    This happens because HttpGet and HttpPost protocols are not enabled y default, see the following KB article for the information on how to enable them:

    http://support.microsoft.com/default.aspx scid=kb;en-us;819267

    Thanks,

    Elena Kharitidi


  • Webservice works only with SOAP, not HTTP POST/GET