大家看下这个帖子谢谢客户端不是直接调用webservice,中间还有个代理类,这个类负责动态编译调用webservice。客户端调用的是代理类http://topic.csdn.net/u/20100527/09/2eaa6369-ae2d-436c-aabc-ed62205ebf87.html?seed=1196885703&r=65754919#r_65754919
解决方案 »
- 关于gridview中的checkbox问题
- ASP.NET 路径问题
- 请教关于web.config中使用customErrors判断错误
- 求!ASP.net开发的考勤系统!
- 有关弹出新窗口的问题!!!!请教高手
- 無法調試 unable to start debugging on the web server
- .NET 2.0: 请教大家一个问题,如何读SQL SERVER数据(不使用DATAGRID组件)
- repeater控件中将数据绑定到linkbutton
- 如何有效的操作在线用户的交互?
- 这个SQL语句应该怎么写?谢谢.
- 【分享】关于HyperLink的NavigateUrl属性的链接地址带参数出错的问题
- ajax优化问题(在线等)--高手请进
public string HelloWorld(out string result) {
result = "result";
return "Hello World";
}
string msg;
string result;
localhost.WebService w = new WindowsApplication1.localhost.WebService();
msg= w.HelloWorld(out result);
MessageBox.Show(msg);
MessageBox.Show(result);
System.Reflection.MethodInfo mi = t.GetMethod(methodname);
System.Reflection.MethodInfo mi = t.GetMethod(methodname,new Type[]
{
Type.GetType("System.Int32"),
Type.GetType("System.Int32&") //这个是out参数
}
);
修改代理类
public static object InvokeWebService(string url, string classname, string methodname, object[] args,param Type[] types)