!soapHeaderTwo.isComplete());
assertNotNull("This SOAPHeader must have a builder ", soapHeaderTwo.getBuilder());
}
public void testCreateSOAPHeaderBlock() throws Exception {
OMXMLParserWrapper omBuilder = OMTestUtils.getOMBuilder(
getTestResourceFile("soap/soapmessage.xml"));
SOAPEnvelope soapEnvelope = (SOAPEnvelope) omBuilder.getDocumentElement();
SOAPHeader soapHeader = soapEnvelope.getHeader();
SOAPHeaderBlock soapHeaderBlock = omFactory.createSOAPHeaderBlock(
"soapHeaderBlockOne", namespace, soapHeader);
assertTrue(
"Programatically created SOAPHeaderBlock should have done = true ",