今天在学习webservice的时候,碰到这个错误。查了下资料原来是

在webservice的 <system.web> 节点下加入 
<webServices> 
<protocols> 
<add name= "HttpPost" /> 
<add name= "HttpGet" /> 
</protocols> 
</webServices> 
一定要小心"HttpPost" 和"HttpGet"不要有空格

这样就可以了

相关文章:

  • 2021-12-29
  • 2022-12-23
  • 2021-09-09
  • 2022-12-23
  • 2021-08-07
  • 2022-02-02
猜你喜欢
  • 2022-12-23
  • 2021-07-16
  • 2022-12-23
  • 2021-07-06
  • 2021-12-22
  • 2022-01-11
相关资源
相似解决方案