} else {
if (reason.getFirstSOAPText() != null) {
reason.getFirstSOAPText().getFirstOMChild().detach();
reason.getFirstSOAPText().setText(faultString);
} else {
SOAPFaultText text = new SOAP12FaultTextImpl(reason,
(SOAPFactory)this.element
.getOMFactory());
text.setText(faultString);
reason.addSOAPText(text);
}
}
} else {
org.apache.axiom.soap.SOAPFactory soapFactory =