C#webservice 默認情況下 是SOAP協議
如果要在外網訪問該接口,需要設置Httpget的請求,或者POST 請求。
在<systeam.web> 幾點下面新增
<webServices>
<protocols>
<add name="HttpSoap"/>
<add name="HttpPost"/>
<add name="HttpGet"/>
<add name="Documentation"/>
</protocols>
</webServices>
就OK 了