asp.net webservice 添加get方法
当需要在浏览器中直接访问webservice中的方法时,需要做如下修改
<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
<add name="HttpSoap"/>
<add name="HttpSoap12"/>
</protocols>
</webServices>
当需要在浏览器中直接访问webservice中的方法时,需要做如下修改
<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
<add name="HttpSoap"/>
<add name="HttpSoap12"/>
</protocols>
</webServices>