You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jim Ma (JIRA)" <ji...@apache.org> on 2012/07/06 07:25:34 UTC

[jira] [Resolved] (CXF-4408) NPE in DOMUtils when soap header contains null namespace element

     [ https://issues.apache.org/jira/browse/CXF-4408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Ma resolved CXF-4408.
-------------------------

    Resolution: Fixed
      Assignee: Jim Ma
    
> 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
>            Assignee: 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