SOAPBody body = root.getBody();
getNumDetailBlocks(); // Forces parse of existing detail blocks
getNumBodyBlocks(); // Forces parse over body
OMNode child = body.getFirstOMChild();
while (child != null) {
child.detach();
child = body.getFirstOMChild();
}
// Add a SOAPFault to the body.
SOAPFault soapFault = XMLFaultUtils.createSOAPFault(xmlFault, body, false);