WebService只能在本地使用,没法经过网络访问的解决办法

问题描述:WebService只能在本地使用,没法经过网络访问。
解决方案:在web.config的<system.web></system.web>中间加入以下配置节内容:
<webServices>
         <protocols>
            <add name="HttpSoap"/>
            <add name="HttpPost"/>
            <add name="HttpGet"/>
            <add name="Documentation"/>
         </protocols>
</webServices>
相关文章
相关标签/搜索