0
点赞
收藏
分享

微信扫一扫

web service远程测试(.net)

西曲风 2022-05-20 阅读 76

当不是在本地打开web service时会有如下的提示:

The test form is only available for requests from the local machine


解决办法:

在web.config 的 <system.web>下加入
<webServices>

<protocols>

<add name="HttpSoap"/>

<add name="HttpPost"/>

<add name="HttpGet"/>

<add name="Documentation"/>

</protocols>

</webServices>


举报

相关推荐

0 条评论