cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-5493) SOAPFaultException has empty message in case of response containing CDATA in fault:faultstring (SOAP 1.1)
Date Fri, 17 Jan 2014 17:14:21 GMT

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

Daniel Kulp resolved CXF-5493.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.7.9
                   2.6.12
                   3.0.0-milestone2
         Assignee: Daniel Kulp

> SOAPFaultException has empty message in case of response containing CDATA in fault:faultstring
(SOAP 1.1)
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-5493
>                 URL: https://issues.apache.org/jira/browse/CXF-5493
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.7.7
>            Reporter: Dont Know
>            Assignee: Daniel Kulp
>             Fix For: 3.0.0-milestone2, 2.6.12, 2.7.9
>
>
> If the called web service (SOAP 1.1) returns a fault with a faultstring containing a
<!\[CDATA\[...\]\]> element
> {code:xml}
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>   <soapenv:Header/>
>   <soap:Body xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>     <soap:Fault>
>       <faultcode>soap:Server</faultcode>
>       <faultstring><![CDATA[some text containing a xml tag <xml-tag>]]></faultstring>
>     </soap:Fault>
>   </soap:Body>
> </soap:Envelope>
> {code}
> then the message in the resulting SOAPFaultException is empty. If the faultstring contains
only "simple characters" everything is fine.
> I think this issue was introduced with the fixing of bug [https://issues.apache.org/jira/browse/CXF-4181].



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message