1
using System;
2
using System.Net;
3
using System.IO;
4
using System.CodeDom;
5
using Microsoft.CSharp;
6
using System.CodeDom.Compiler;
7
using System.Web.Services.Description;
8
using System.Web.Services.Protocols;
9
10
namespace HB.Common
11
{
12
/* 调用方式
13
* string url = "http://www.webservicex.net/globalweather.asmx" ;
14
* string[] args = new string[2] ;
15
* args[0] = "Hangzhou";
16
* args[1] = "China" ;
17
* object result = WebServiceHelper.InvokeWebService(url ,"GetWeather" ,args) ;
18
* Response.Write(result.ToString());
19
*/
20
public class WebServiceHelper
21
{
22
InvokeWebService
116
}
117
}
118
using System;2
using System.Net;3
using System.IO;4
using System.CodeDom;5
using Microsoft.CSharp;6
using System.CodeDom.Compiler;7
using System.Web.Services.Description;8
using System.Web.Services.Protocols;9

10
namespace HB.Common11
{12
/* 调用方式13
* string url = "http://www.webservicex.net/globalweather.asmx" ;14
* string[] args = new string[2] ;15
* args[0] = "Hangzhou";16
* args[1] = "China" ;17
* object result = WebServiceHelper.InvokeWebService(url ,"GetWeather" ,args) ;18
* Response.Write(result.ToString());19
*/20
public class WebServiceHelper21
{22
InvokeWebService116
}117
}118
欢迎加群互相学习,共同进步。QQ群:iOS: 58099570 | Android: 330987132 | Go:217696290 | Python:336880185 | 做人要厚道,转载请注明出处!http://www.cnblogs.com/sunshine-anycall/archive/2009/01/07/1371110.html

245

被折叠的 条评论
为什么被折叠?



