cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ulhas Bhole (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-5125) Inconsistent namespace/element name qualification in SoapBody in normal vs. fault return message.
Date Sat, 23 Nov 2013 19:55:35 GMT

    [ https://issues.apache.org/jira/browse/CXF-5125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13830757#comment-13830757
] 

Ulhas Bhole commented on CXF-5125:
----------------------------------

Can you attach small testcase to reproduce this issue?



> 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
>
> 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.1#6144)

Mime
View raw message