// The following set of instructions is used to avoid
// some unimplemented methods in the Axis2 SAAJ implementation
javax.xml.soap.MessageFactory mf = SAAJFactory.createMessageFactory(protocolNS);
SOAPBody body = mf.createMessage().getSOAPBody();
SOAPFault soapFault = XMLFaultUtils.createSAAJFault(xmlFault, body);
e = new SOAPFaultException(soapFault);
} catch (Exception ex) {
// Exception occurred during exception processing.
// TODO Probably should do something better here
if (log.isDebugEnabled()) {
log.debug("Exception occurred during fault processing:", ex);