"Programatically created SOAPHeader should have done = true ",
soapHeader.isComplete());
}
public void testCreateSOAPHeaderBlock() throws Exception {
OMXMLParserWrapper omBuilder = OMXMLBuilderFactory.createSOAPModelBuilder(
getTestResource(TestConstants.SOAP_SOAPMESSAGE), null);
SOAPEnvelope soapEnvelope = (SOAPEnvelope) omBuilder.getDocumentElement();
SOAPHeader soapHeader = soapEnvelope.getHeader();
SOAPHeaderBlock soapHeaderBlock = omFactory.createSOAPHeaderBlock(
"soapHeaderBlockOne", namespace, soapHeader);
assertTrue(
"Programatically created SOAPHeaderBlock should have done = true ",