使用GET的方式调用WebServices

来源:互联网 发布:网络共享打印机挂起 编辑:程序博客网 时间:2024/05/16 04:10

需要在WEB.CONFIG配置文件的<system.web>节点下添加

<webServices>
            <protocols>
                <add   name= "HttpSoap"/>
                <add   name= "HttpPost"/>
                <add   name= "HttpGet"/>
                <add   name= "HttpPostLocalhost"/>
                <add   name= "Documentation"/>
            </protocols>
        </webServices>


原创粉丝点击