关于发布Web Services 的问题
我在服务器上发布Web Services出现问题,请教如何解决.谢谢!
"Test
The test form is only available for requests from the local machine. "
地址:http://www.gzscs.cn:7791/Service.asmx?op=HelloWorld
[解决办法]
通过编辑 Web 服务所在的 vroot 的 Web.config 文件,可以启用 HTTP GET 和 HTTP POST。以下配置同时启用了 HTTP GET 和 HTTP POST:
<configuration>
<system.web>
<webServices>
<protocols>
<add name= "HttpGet "/>
<add name= "HttpPost "/>
</protocols>
</webServices>
</system.web>
</configuration>