WebService是使用SOAP协议通信的,没有get和post请求的区分
一句代码就可以判断了。[WebMethod]publicstring HelloWorld(){if(是get请求){return"Hello World";}else{}}