if (wrapperRequest != null) {
JavaAnnotation wrapperRequestAnnotation = new JavaAnnotation("RequestWrapper");
wrapperRequestAnnotation.addArgument("localName", wrapperRequest.getType());
wrapperRequestAnnotation.addArgument("targetNamespace", wrapperRequest.getTargetNamespace());
wrapperRequestAnnotation.addArgument("className", wrapperRequest.getClassName());
method.addAnnotation("RequestWrapper", wrapperRequestAnnotation);
method.getInterface().addImport("javax.xml.ws.RequestWrapper");
}
if (wrapperResponse != null) {
JavaAnnotation wrapperResponseAnnotation = new JavaAnnotation("ResponseWrapper");
wrapperResponseAnnotation.addArgument("localName", wrapperResponse.getType());