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
AxisFault af = Utils.getInboundFaultFromMessageContext(responseMessageContext);
throw af;
}