客户端调用webservice

前端之家收集整理的这篇文章主要介绍了客户端调用webservice前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
//注意 在1.1的machine.config,默认webservice去除了post,get方法 machine.config中找到 把去掉的加上 1,webservice [WebMethod]   public string GetMessage()   {    XmlDocument doc=new XmlDocument();    doc.Load(Server.MapPath(".")+"/test.xml");    string rtn=doc.OuterXml;    doc=null;    return rtn;    } 2,aspx中调用  

猜你在找的WebService相关文章