今天在写一个WebService时,在访问时正常,当我刷新时,出现错误,如下所示:
在网上找了好久,解决办法如下所示:
在Web.config中<configuration>\<system.web>添加配置:
<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>
</webServices>
原文出处:http://www.cnblogs.com/sunyanjun/articles/2466565.html