SOAPHeaderMessage header = (SOAPHeaderMessage)anExtList;
OMElement messageElement = fac.createOMElement(MESSAGE_LOCAL_NAME, wsdl);
messageElement.addAttribute(ATTRIBUTE_NAME, header.getMessage().getLocalPart(), null);
OMElement messagePart = fac.createOMElement(PART_ATTRIBUTE_NAME, wsdl);
messageElement.addChild(messagePart);
messagePart.addAttribute(ATTRIBUTE_NAME, header.part(), null);
if (header.getElement() == null) {
throw new RuntimeException(ELEMENT_ATTRIBUTE_NAME
+ " is null for " + header.getMessage());
}
messagePart.addAttribute(ELEMENT_ATTRIBUTE_NAME,