ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AXIOM-357) org.apache.axiom.om.util.CopyUtils throws NPE when used to copy a SOAPEnvelope containing a SOAP 1.1 SOAPFault
Date Wed, 16 May 2012 06:44:15 GMT

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

Andreas Veithen resolved AXIOM-357.
-----------------------------------

    Resolution: Fixed
    
> org.apache.axiom.om.util.CopyUtils throws NPE when used to copy a SOAPEnvelope containing
a SOAP 1.1 SOAPFault
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIOM-357
>                 URL: https://issues.apache.org/jira/browse/AXIOM-357
>             Project: Axiom
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 1.2.11
>         Environment: All
>            Reporter: Daniel James Matthews
>            Assignee: Andreas Veithen
>             Fix For: 1.2.14
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> NPE when using CopyUtils.copy on a SOAPEnvelope containing a SOAP 1.1 SOAPFault.
> This is because the copySOAPFaultCode method assumes that the SOAPFaultCode has a Value
child element, but that's only true for SOAP 1.2.
> In SOAP 1.1 the SOAPFault contains a text element, not a Value element.
> I have a patch available where I copy the text or Value based on the namespace of the
SOAPFactory.

--
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


Mime
View raw message