Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-997

MustUnderstand headers:[{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security] are not understood

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Won't Fix
    • OpenCMIS 0.12.0
    • None
    • None

    Description

      When trying to use SOAP binding using OpenCMIS and connecting to documentum server we are getting the following exception

      com.sun.xml.internal.ws.protocol.soap.MUTube getMisUnderstoodHeaders
      INFO: Element not understood=

      {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}

      Security
      Exception: MustUnderstand headers:[{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.

      After initial analysis I found that though openCMIS generates the Ws-Security headers for Outbound side, in inbound side it is unable to process Ws-security headers.
      Please note that Documentum version 7.1 sends Ws-security headers in the Response.

      I have found a workaround where in we can engage SOAP handlers the WSBindingProvider to implicitly instruct JAX-WS to understand the headers,
      https://dwuysan.wordpress.com/2012/04/02/jax-ws-wsimport-and-the-error-mustunderstand-headers-not-understood/#comment-215
      if we do the changes in PortProvider.java initPortObject() it should resolve the issue. but
      In my opinion either OpenCMIS should be modified to provide full support for WS-Security in inbound side.

      Attachments

        Activity

          People

            Unassigned Unassigned
            santoshdas1984 santosh kumar das
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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