public void testHeaderCustomBuilder() throws Exception{
XMLStreamReader parser =
StAXUtils.createXMLStreamReader(getTestResource(TestConstants.SOAP_SOAPMESSAGE));
StAXSOAPModelBuilder builder = new StAXSOAPModelBuilder(parser, null);
builder.registerCustomBuilder(new QName("http://schemas.xmlsoap.org/ws/2004/03/addressing","To"), 3, new
ByteArrayCustomBuilder("utf-8"));
SOAPEnvelope sourceEnv = (SOAPEnvelope) builder.getDocumentElement();
SOAPHeader header = sourceEnv.getHeader();
ArrayList al =
header.getHeaderBlocksWithNSURI("http://schemas.xmlsoap.org/ws/2004/03/addressing");