Jim Ma created CXF-4408:
---------------------------
Summary: NPE in DOMUtils when soap header contains null namespace
element
Key: CXF-4408
URL: https://issues.apache.org/jira/browse/CXF-4408
Project: CXF
Issue Type: Bug
Reporter: Jim Ma
When ReadHeaderInterceptor process the follow inbound soap message , DOMUtils
throws NPE for the null namespace "Header" element:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:foo="http://cxf.apache.org/foo"
xmlns:bar="http://cxf.apache.org/bar">
<soapenv:Header>
<foo:myheader>
<Header>
<bar:type>mytype</head:type>
</Header>
</foo:myheader>
</soapenv:Header>
A NPE guard is needed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira