webservice远程测试显示 “测试窗体只能用于来自本地计算机的请求”

来源:互联网 发布:按键精灵windows插件 编辑:程序博客网 时间:2024/04/29 04:10

webservice远程测试显示 “测试窗体只能用于来自本地计算机的请求”

webservice远程测试显示 “测试窗体只能用于来自本地计算机的请求”
The test form is only available for requests from the local machine.

解决的方法:
在web.config中加入如下配置节内容
<webServices>
         <protocols>
            <add name="HttpSoap"/>
            <add name="HttpPost"/>
            <add name="HttpGet"/>
            <add name="Documentation"/>
         </protocols>

</webServices>

原创粉丝点击