cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Ma (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-4408) NPE in DOMUtils when soap header contains null namespace element
Date Fri, 06 Jul 2012 05:23:33 GMT
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

        

Mime
View raw message