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

MTOM does not work when add WSS4J interceptors(UsernameToken and Timestamp)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.0.8, 2.1.2
    • Component/s: WS-* Components
    • Labels:
      None
    • Environment:

      Windows Xp,
      JDK 1.5 update 11
      apache CXF 2.1 release

    • Estimated Complexity:
      Moderate

      Description

      I have wriitten an Apache CXF client with the following specification,

      1. MTOM attachment enabled(implemented by refering http://cwiki.apache.org/CXF20DOC/mtom.html link).
      2. WS-Secuirty features namely, UsernameToken and Timestamp (implemented by refering http://cwiki.apache.org/CXF20DOC/ws-security.html link)

      As per my observation, i see that the MTOM attachment gets inlined in the soap body of request, when i enable either of WS-Security features(UsernameToken or Timestamp).But when i disable WSS4J interceptors i see that client sends the data as MTOM attachment.

      I suspect WSS4J interceptor is causing the problem.Kindly help me in this regard.

      Note: I added WSS4J interceptors programmatically.

      Thanks in advance,
      Navin Bhat

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dkulp Daniel Kulp
                Reporter:
                navinbhat naveen bhat
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 72h
                  72h
                  Remaining:
                  Remaining Estimate - 72h
                  72h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified