.asmx的webservice可以在网页中看到服务提供的方法,点入,在本机可以看到测试调用,而非本机就不能看到测试调用,只要我们在web.config中的system.web配置节点下增加这一段配置即可:

 

Xml代码 net webservice如何调出测试调用 net webservice如何调出测试调用net webservice如何调出测试调用
  1. <webServices>  
  2.     <protocols>  
  3.         <add name="HttpSoap" />  
  4.         <add name="HttpGet" />  
  5.         <add name="HttpPost" />  
  6.     </protocols>  
  7. </webServices>  
<webServices>
    <protocols>
        <add name="HttpSoap" />
        <add name="HttpGet" />
        <add name="HttpPost" />
    </protocols>
</webServices>

相关文章:

  • 2022-01-02
  • 2022-02-02
  • 2022-12-23
  • 2021-12-26
  • 2021-08-07
  • 2022-02-18
  • 2021-12-23
猜你喜欢
  • 2021-11-07
  • 2021-06-10
  • 2022-12-23
  • 2022-01-13
相关资源
相似解决方案