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

CXF's STSClient does not handle additional Schemas properly when parsing a WS-MEX response

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.12, 3.0.1
    • Component/s: WS-* Components
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      When parsing a WS-MEX response, CXF's STSClient only looks for the WSDL definition + ignores the other MetadataSections. This is problematic with certain STS instances, which include additional Schemas in other MetadataSections, leading to errors like:

      Part request defined as element

      {http://docs.oasis-open.org/ws-sx/ws-trust/200512}

      RequestSecurityToken which is not in the schema."

      See here for more information:

      http://cxf.547215.n5.nabble.com/Issue-with-WS-Trust-using-security-tokens-SAML-assertions-td5744142i20.html

        Attachments

          Activity

            People

            • Assignee:
              coheigea Colm O hEigeartaigh
              Reporter:
              coheigea Colm O hEigeartaigh
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: