asp.net webservice 添加get方法

当需要在浏览器中直接访问webservice中的方法时,需要做如下修改

 

<webServices>
    <protocols>
        <add name="HttpGet"/>
        <add name="HttpPost"/>
        <add name="HttpSoap"/>
        <add name="HttpSoap12"/>
    </protocols>
</webServices>
posted @ 2013-02-25 15:00  中小刀  阅读(268)  评论(0编辑  收藏  举报