公开了个webmethod方法

在Web.Config的<configuration>节点添加

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

你可能感兴趣的:(method)