Service这样实现的
public DataSet GetCustomerDs(Hashtable paramHash)
{
//实现的代码
}生成的client就成这样:
public ArrayOfKeyValueOfanyTypeanyTypeKeyValueOfanyTypeanyType[] ValidateUser(string username, string password)
{
ValidateUserRequest inValue = new ValidateUserRequest();
inValue.username = username;
inValue.password = password;
ValidateUserResponse retVal = ((ICustomer)(this)).ValidateUser(inValue);
return retVal.ValidateUserResult;
}
能不能在client也是hashtable,而不是ArrayOfKeyValueOfanyTypeanyTypeKeyValueOfanyTypeanyType
public DataSet GetCustomerDs(Hashtable paramHash)
{
//实现的代码
}生成的client就成这样:
public ArrayOfKeyValueOfanyTypeanyTypeKeyValueOfanyTypeanyType[] ValidateUser(string username, string password)
{
ValidateUserRequest inValue = new ValidateUserRequest();
inValue.username = username;
inValue.password = password;
ValidateUserResponse retVal = ((ICustomer)(this)).ValidateUser(inValue);
return retVal.ValidateUserResult;
}
能不能在client也是hashtable,而不是ArrayOfKeyValueOfanyTypeanyTypeKeyValueOfanyTypeanyType
解决方案 »
- 重装IIS后,打开IIS就报错
- 200分求教:用VS2003连接Solaris下的Sybase数据库的疑问!
- vs2008中winform应用中,如何设置gridveiw一行数据中,某个字段只读?
- xp操作系统使用WebBrowser调用Excel的问题
- 请教一个socket 的问题,如何在建立连接后,可以连续的发送,接受数据
- 请问怎样使程序字体与系统主题保持一致?
- Windows Installer服务不能更新一个或多个受保护的Windows文件~什么原因
- c#可以取得指定字符后的文字吗?在遇到一串指定字符后又不取得
- 我想做个聊天工具。
- 如何在C#中引入flash控件?
- 请问一个关于form加载的问题
- vs2003和2005的区别大吗?
public DataSet GetCustomerDs(Hashtable paramHash)
{
//实现的代码
} 生成的client就成这样:
public System.Data.DataSet GetCustomerAndCustomer_ExtendDs(ArrayOfKeyValueOfanyTypeanyTypeKeyValueOfanyTypeanyType[] paramHash)
{
GetCustomerAndCustomer_ExtendDsRequest inValue = new GetCustomerAndCustomer_ExtendDsRequest();
inValue.paramHash = paramHash;
GetCustomerAndCustomer_ExtendDsResponse retVal = ((ICustomer)(this)).GetCustomerAndCustomer_ExtendDs(inValue);
return retVal.GetCustomerAndCustomer_ExtendDsResult;
}