returnTypeName = method.getReturnType().getType()
.getName();
}
if (this.isWrapped(operation)) { // wrapped response
Response response = operation.getResponse();
Block resBlock = response.getBodyBlocks().next();
returnTypeName = resBlock.getType().getJavaType().getName();
}
TypeInfo returnType = new TypeInfo();
returnType.setFullName(returnTypeName);
returnType.setName(ClassNameUtil
.stripQualifier(returnTypeName));
methodInfo.setReturnType(returnType);
methodInfo.setWebMethodAnnotation(getWebMethodAnnotation(operation, method.getName()));
methodInfo.setWebResultAnnotation(getWebResultAnnotation(operation));
methodInfo.setSoapBindingAnnotation(getSOAPBindingAnnotation(operation));
if (this.isWrapped(operation)) { // wrapped request parameter
Block reqBlock = operation.getRequest().getBodyBlocks().next();
String parameterTypeName = reqBlock.getType().getJavaType().getName();
ParameterInfo paramInfo = new ParameterInfo();
paramInfo.setName("request");
// param type
TypeInfo paramType = new TypeInfo();