SOAPFault soapFault = SOAPFactory.newInstance().createFault();
Fault fault = (Fault)exp;
soapFault.setFaultCode(fault.getFaultCode());
soapFault.setFaultString(fault.getMessage());
SOAPFaultException ex = new SOAPFaultException(soapFault);
ex.initCause(exp);
throw ex;
} catch (SOAPException e) {
throw new WebServiceException(e);
}
} else if (getBinding() instanceof HTTPBinding) {