摘要:
using System; using System.Web; using System.Xml; using System.Collections; using System.Net; using System.Text; using System.IO; /**//// <summary> /// 利用WebRequest/WebResponse进行WebService调用的类/// </summary> public class WebSvcCaller { //<webServices> // <protocols> // <add 阅读全文
摘要:
public object InvokeWebservice(string url, string @namespace, string classname, string methodname, object[] args) { try { System.Net.WebClient wc = new System.Net.WebClient(); System.IO.Stream stream = wc.OpenRead(url + "?WSDL"); System.Web.Services.Description.ServiceDescription sd = Syst 阅读全文