C#客户端无法调用Axis2 Java Web服务

时间:2011-02-20 14:39:41

标签: c# web-services axis2

1 个答案:

答案 0 :(得分:0)

快速思考:你不应该像这样传递Request对象:

HIqualityNameWorldwidePortTypeClient client = new HIqualityNameWorldwidePortTypeClient();
    validateFamilyNameRequest req = new validateFamilyNameRequest();
    req.input = "Kumar";
    req.maxNumberOfSuggestions = 2;
    DetailedNameResult res = client.validateFamilyName(req);

而不是像现在一样单独传递params?