天使半只翼

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

 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

posted on 2012-06-05 16:37  天使半只翼  阅读(406)  评论(0编辑  收藏  举报