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

Signed element with an attribute named Id leaves a WSS Id attribute in the response

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 3.1.8, 3.1.11
    • Fix Version/s: None
    • Component/s: WS-* Components
    • Labels:
      None
    • Environment:

      Weblogic 12.1
      Java 1.8.0_121
      RedHat Linux

    • Estimated Complexity:
      Unknown

      Description

      Setup:
      Create a Soap service that has a WssRequiredSignatureHandler.
      Create an XML Element that has an attribute named id.
      Create a soap request that uses the element with the id attribute
      Specify that body be of the Soap request be a WSS Signed Element.
      Invoke the Soap service method.

      Expected Result
      The SOAP response will have an element with a single id attribute

      Actual Result:
      The SOAP response will have an element with a expected id attribute as well as an extra wsu:Id attribute. wsu maps to http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd

      Work Around
      Rename the attribute.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cullenatengility Cullen Davis
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: