Hi,

There is a bug for cxf bc provider process the soap fault message which only have faultstring but no fault detail, there is already an issue[1] to track it, and I will fix it asap

[1]https://issues.apache.org/activemq/browse/SM-1637

Freeman

servicer-mixer wrote:
Here it goes:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
   xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing";
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"; xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";>
   <soap:Header>
      <wsa:Action>
         http://schemas.xmlsoap.org/ws/2004/08/addressing/fault
      </wsa:Action>
      <wsa:MessageID>urn:uuid:a00aaa1c-f938-43d0-badf-0fd97aba6f36
      </wsa:MessageID>
      <wsa:RelatesTo>urn:uuid:c468ded3-3fd2-4d78-88c2-29f107fd7a8c
      </wsa:RelatesTo>
      <wsa:To>
         http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous
      </wsa:To>
      <wsse:Security>
         <wsu:Timestamp
wsu:Id="Timestamp-064f39d0-e3aa-4fa1-8de7-9ca067321a91">
            <wsu:Created>2008-10-19T13:22:29Z
            </wsu:Created>
            <wsu:Expires>2008-10-19T13:27:29Z
            </wsu:Expires>
         </wsu:Timestamp>
      </wsse:Security>
   </soap:Header>
   <soap:Body>
      <soap:Fault>
         <faultcode
xmlns:q0="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";>q0:Security</faultcode>
         <faultstring>Security requirements are not satisfied
            because the security header is not present in the incoming
            message.</faultstring>
         <faultactor>https://someactor.com/api/
         </faultactor>
      </soap:Fault>
   </soap:Body>
</soap:Envelope>

Thanks


Reply via email to