Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4647

A wrong soap action when using ws-addressing may lead to an empty response or the fault with the wrong action

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7
    • 2.5.7, 2.6.4, 2.7.1
    • WS-* Components
    • None
    • Unknown

    Description

      This issue was reported in users@cxf
      http://cxf.547215.n5.nabble.com/SOAPAction-tc5718944.html

      When the soap action value does not match the ws-addressing's action or that action is not supported by the endpoint, an exception is raised and an appropriate SOAP fault message must be returned, which is specified in
      http://www.w3.org/TR/2006/REC-ws-addr-soap-20060509/#soapfaults

      Currently, there are two issues:

      1. the soap fault code is correctly set but the soap action value is not correctly set to http://www.w3.org/2005/08/addressing/fault.

      2. if the endpoint defines a fault type that has no message part, an NPE is thrown and this can lead to an empty response instead of a fault response.

      Attachments

        Activity

          People

            ay Akitoshi Yoshida
            ay Akitoshi Yoshida
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: