RequestWrapper.class, method);
if (requestWrapper != null) {
RequestWrapperAnnot rwAnnot = RequestWrapperAnnot.createRequestWrapperAnnotImpl();
rwAnnot.setClassName(requestWrapper.className());
rwAnnot.setLocalName(requestWrapper.localName());
rwAnnot.setTargetNamespace(requestWrapper.targetNamespace());
try {
rwAnnot.setPartName(requestWrapper.partName());
} catch (NoSuchMethodError ex) {
// Ignore: we are running on Java 1.6 and the JAX-WS 2.2 libs have not been endorsed
}