boolean hasFault = soapBody.hasFault();
if(hasFault)
{
SOAPFault soapFault = soapBody.getFault();
String faultStr = soapFault.getFaultCode() + "::" + soapFault.getFaultString();
throw new RegistryException(faultStr);
}
response = getFirstChildElement(soapBody);
} catch (Exception ex)
{
log.error("Exception::",ex);
throw new RegistryException(ex);
}
log.debug("Response message:" + XMLUtils.getText(response));
return response;
}