if (resenvelope != null) {
if (resenvelope.getBody().hasFault()) {
SOAPFault soapFault = resenvelope.getBody().getFault();
//we need to call engine.receiveFault
engine = new AxisEngine(msgctx.getConfigurationContext());
engine.receiveFault(responseMessageContext);
if (options.isExceptionToBeThrownOnSOAPFault()) {
// does the SOAPFault has a detail element for Excpetion
throw new AxisFault(soapFault.getCode(), soapFault.getReason(),
soapFault.getNode(), soapFault.getRole(), soapFault.getDetail());
}