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

SOAP gateway fails with NPE when SOAP 1.2 fault has no fault code

    Details

      Description

      There is a bug in SOAP gateway when processing SOAP 1.2 faults without a fault role. This line [1] should work with SOAP 1.1 and 1.2 messages according to the SAAJ javadoc, but it's throwing an NPE for 1.2 faults missing the fault role element. Add some conditional logic around this code (check for null) to avoid the problem.

      [1] https://github.com/jboss-switchyard/components/blob/master/soap/src/main/java/org/switchyard/component/soap/util/SOAPUtil.java#L425

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mageshbk Magesh Bojan
                Reporter:
                kcbabo Keith Babo
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: