SOAPEnvelope soapEnvelope = (SOAPEnvelope) omBuilder.getDocumentElement();
SOAPBody soapBodyOne = omFactory.createSOAPBody(soapEnvelope);
assertTrue(
"Programatically created SOAPBody should have done = true ",
soapBodyOne.isComplete());
soapBodyOne.detach();
SOAPBody soapBodyTwo = omFactory.createSOAPBody(soapEnvelope,
omBuilder);
assertTrue(
"SOAPBody with a builder should start with done = false ",
!soapBodyTwo.isComplete());