webservice我在服务端 创建一个方法
public string HelloWorld(string name)
{
return name;
}我在客户端创建webservice的对象client 请问 client.BeginHelloWorld
client.EndHelloWorld
怎么用
希望高手给我写个例子
public string HelloWorld(string name)
{
return name;
}我在客户端创建webservice的对象client 请问 client.BeginHelloWorld
client.EndHelloWorld
怎么用
希望高手给我写个例子
http://blog.csdn.net/wgf2006/article/details/2270332
复制url
右键你的web工程
添加web引用
实例化
例:
webservice w= new webservice()
MessageBox.Show(w.HelloWorld("张三"));