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

Schema validation does not validate soap:Fault

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0, 2.7.12
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Investigating CXF-5686, I noticed that CXF fails to detect that an outbound soap:Fault is invalid with respect to its schema.

      The test case attached to CXF-5686 includes a test case where a Java SEI throws a soap:Fault which is declared in the WSDL, but where the content of the fault does not match the restrictions given the WSDL / XSD.

      Please note that the attached test case for CXF-5686 does not include a test case where the invalid soap Fault is returned from a Provider. A fix for this issue should be tested with such a test case.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dkulp Daniel Kulp
                Reporter:
                eirbjo Eirik Bjorsnos
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: