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

Client fails with UnmarshalException if WSS4JInInterceptor is used

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.9, 2.7.11
    • Fix Version/s: 2.7.12, 3.0.1
    • Labels:
      None
    • Environment:

      java version "1.7.0_60"
      Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
      Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)

    • Estimated Complexity:
      Unknown

      Description

      I have CXF client which fails if the WSS4JInInterceptor is enabled.

      I will attach a sample project to show the problem. Using CXF 2.7.8 (configurable via cxf.version in pom.xml), everything works well. Beginning with CXF 2.7.9, I get a UnmarshalException.
      The sample contains a schema-valid mock response that is requested in a JUnit test which can be run via "mvn clean install". You can also run a mock service: "mvn jetty:run".
      From what I found out, the error seems to be caused by the code changes in CXF-5527.

        Attachments

        1. cxf-test.zip
          8 kB
          Roland Mueller

          Issue Links

            Activity

              People

              • Assignee:
                dkulp Daniel Kulp
                Reporter:
                rmueller Roland Mueller
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: