开发者

ASP Web service insists on being called via post

It seems that the asp web service insists on being called via a POST request.

How can I make it accept my 开发者_开发百科GET request?

Thanks,


I believe you just need to modify your web.config to include something like this:

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

You can read more here: http://msdn.microsoft.com/en-us/library/b2c0ew36%28v=vs.71%29.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜