cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dusan Slivka (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-5125) Inconsistent namespace/element name qualification in SoapBody in normal vs. fault return message.
Date Sat, 13 Jul 2013 10:03:48 GMT
Dusan Slivka created CXF-5125:
---------------------------------

             Summary: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message