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

解决方案 »

  1.   

    不好意思上面发错了.Service这样实现的     
    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;
        }