throw new IllegalStateException(
"SaajSoapMessageFactory requires SAAJ 1.1, which was not found on the classpath");
}
}
catch (NoSuchMethodError ex) {
throw new SoapMessageCreationException(
"Could not create SAAJ MessageFactory. Is the version of the SAAJ specification interfaces [" +
SaajUtils.getSaajVersionString() +
"] the same as the version supported by the application server?", ex);
}
catch (SOAPException ex) {
throw new SoapMessageCreationException("Could not create SAAJ MessageFactory: " + ex.getMessage(), ex);
}
}
if (logger.isDebugEnabled()) {
logger.debug("Using MessageFactory class [" + messageFactory.getClass().getName() + "]");
}