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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.7.12, 3.0.1
    • WS-* Components
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: