在 webServices 项目的 Web.config 的<system.web>里加上:
<webServices>
<protocols>
<add name="HttpPost" />
<add name="HttpGet" />
</protocols>
</webServices>
[WebMethod(Description="This method call will get the company name and the price for a given security code.",EnableSession=false)]
代码里将EnableSession=false 删除或改成EnableSession=true
浙公网安备 33010602011771号