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

相关文章:

  • 2021-05-29
  • 2022-12-23
  • 2021-07-09
  • 2022-01-18
  • 2021-08-25
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-16
  • 2021-09-08
  • 2022-12-23
  • 2022-01-11
  • 2021-12-29
相关资源
相似解决方案