web.config文件中的 <system.web> 节点下加入:<webServices> <protocols> <add name= "HttpPost"/> <add name= "HttpGet"/> </protocols></webServices>