答案 0 :(得分:0)
快速思考:你不应该像这样传递Request对象:
HIqualityNameWorldwidePortTypeClient client = new HIqualityNameWorldwidePortTypeClient();
validateFamilyNameRequest req = new validateFamilyNameRequest();
req.input = "Kumar";
req.maxNumberOfSuggestions = 2;
DetailedNameResult res = client.validateFamilyName(req);
而不是像现在一样单独传递params?