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

SOAPAction Header is not generated correct for CMIS_1_0 with jax-ws > 2.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • OpenCMIS 0.10.0
    • OpenCMIS 0.11.0
    • java version "1.7.0_51"
      Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
      Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

    Description

      In the AbstractPortProvider class the the setSoapAction method is wrong for jax-ws > 2.2 in combination with CMIS_1_0. The desired behaviour is that the request header attribute SOAPAction will be set to "". This does not work because

      portObject.getRequestContext().put(BindingProvider.SOAPACTION_USE_PROPERTY, Boolean.FALSE);
      

      sets the "SOAPACTION_USE_PROPERTY" property to FALSE. A correct behaviour could be reached by setting:

      portObject.getRequestContext().put(BindingProvider.SOAPACTION_USE_PROPERTY, Boolean.TRUE);
      

      Attachments

        Activity

          People

            fmui Florian Müller
            birgzim Birger Zimmermann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: