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

Check thrown Exception's cause for SOAPFaultException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.4, 2.7.15, 3.1
    • Component/s: JAX-WS Runtime
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Section 10.2.2.3 of JAX-WS 2.2 spec has a footnote that says:

      If the exception is a SOAPFaultException or has a cause that is a SOAPFaultException.

      Currently CXF only checks if the thrown exception is of the exact type (i.e. not a subtype of) SOAPFaultException. We need to check all causes and may as well use instanceof rather than ex.getClass().equals(SOAPFaultException.class) in WebFaultOutInterceptor.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ay Akitoshi Yoshida
                Reporter:
                klape Kyle Lape
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: