今天在学习webservice的时候,碰到这个错误。查了下资料原来是
在webservice的 <system.web> 节点下加入
<webServices>
<protocols>
<add name= "HttpPost" />
<add name= "HttpGet" />
</protocols>
</webServices>
一定要小心"HttpPost" 和"HttpGet"不要有空格
这样就可以了
今天在学习webservice的时候,碰到这个错误。查了下资料原来是
在webservice的 <system.web> 节点下加入
<webServices>
<protocols>
<add name= "HttpPost" />
<add name= "HttpGet" />
</protocols>
</webServices>
一定要小心"HttpPost" 和"HttpGet"不要有空格
这样就可以了
转载于:https://www.cnblogs.com/linjiancun/archive/2010/03/19/1690068.html