You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2017/03/22 19:28:42 UTC

[jira] [Resolved] (CXF-5125) Inconsistent namespace/element name qualification in SoapBody in normal vs. fault return message.

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

Daniel Kulp resolved CXF-5125.
------------------------------
       Resolution: Incomplete
    Fix Version/s: Invalid

Test case requested but not supplied.

> Inconsistent namespace/element name qualification in SoapBody in normal vs. fault return message.
> -------------------------------------------------------------------------------------------------
>
>                 Key: CXF-5125
>                 URL: https://issues.apache.org/jira/browse/CXF-5125
>             Project: CXF
>          Issue Type: Bug
>         Environment: CXF 2.7.2
>            Reporter: Dusan Slivka
>            Priority: Minor
>             Fix For: Invalid
>
>
> This is my standard SOAP response message:
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>    <soap:Body>
>       <ns2:getPoolReportResponse xmlns:ns2="http://admin/">
>          <owner>OWNER</owner>
>          <recordsCnt>0</recordsCnt>
>       </ns2:getPoolReportResponse>
>    </soap:Body>
> </soap:Envelope>
> and this is fault message generated with the same system:
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>    <soap:Body>
>       <soap:Fault>
>          <faultcode>soap:Server</faultcode>
>          <faultstring>message--</faultstring>
>          <detail>
>             <ns1:permissionDeniedException xmlns:ns1="http://admin/">
>                <role xmlns:ns2="http://admin/">user..</role>
>                <domain xmlns:ns2="http://admin/">role...</domain>
>             </ns1:permissionDeniedException>
>          </detail>
>       </soap:Fault>
>    </soap:Body>
> </soap:Envelope>
> Why does the fault define namespace ns2 and why it is assigned to all elements?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)