// We're always going to include a DispositionReport (for
// the hell of it) so that's what we're doing here.
Detail faultDetail = soapFault.addDetail();
SOAPElement dispRpt = faultDetail.addChildElement("dispositionReport","",IRegistry.UDDI_V2_NAMESPACE);
dispRpt.setAttribute("generic",IRegistry.UDDI_V2_GENERIC);
dispRpt.setAttribute("operator",Config.getOperator());
SOAPElement result = dispRpt.addChildElement("result");
result.setAttribute("errno",errno);
SOAPElement errInfo = result.addChildElement("errInfo");
errInfo.setAttribute("errCode",errCode);
errInfo.setValue(errText);
}
catch (Exception e) { // if we end up in here it's just NOT good.
log.error("A serious error has occured while assembling the SOAP Fault.",e);
}
}