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