SOAPFault soapFault = omFactory.createSOAPFault(soapBody,
new Exception(" this is just a test "));
assertTrue(
"Programatically created SOAPFault should have done = true ",
soapFault.isComplete());
soapFault.detach();
SOAPFault soapFaultTwo = omFactory.createSOAPFault(soapBody,
omBuilder);
assertTrue(
"SOAPFault with a builder should start with done = false ",
!soapFaultTwo.isComplete());