Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-2841

Thrown SoapFaultException is swallowed and regenerated in the SOAP Binding

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.1.0
    • Fix Version/s: None
    • Component/s: component-soap
    • Labels:
      None

      Description

      Whenever a service implementation throws a SOAPFaultException it is wrapped in a HandlerException and caught in the InboundHandler of a SOAPBinding. Here the original exception is dropped and regenerated through org.switchyard.component.soap.util.SOAPUtil.createFault(Throwable, String, QName).

      In ealier versions the SOAPFaultException was passed through to CXF where it was returned to the sender. This allowed a custom error handling in the service implementation.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tcunning Thomas Cunningham
                Reporter:
                sdirbach Sascha Dirbach
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: