活不明白

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

2011年4月6日

摘要: 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 阅读全文
posted @ 2011-04-06 11:01 Rain@sz 阅读(347) 评论(0) 推荐(1) 编辑

摘要: 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 阅读全文
posted @ 2011-04-06 11:00 Rain@sz 阅读(293) 评论(0) 推荐(0) 编辑