Birger Zimmermann created CMIS-765:
--------------------------------------

             Summary: SOAPAction Header is not generated correct for CMIS_1_0 
with jax-ws > 2.2
                 Key: CMIS-765
                 URL: https://issues.apache.org/jira/browse/CMIS-765
             Project: Chemistry
          Issue Type: Bug
          Components: opencmis-client-bindings
    Affects Versions: OpenCMIS 0.10.0
         Environment: 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)
            Reporter: Birger Zimmermann


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 
{code}
portObject.getRequestContext().put(BindingProvider.SOAPACTION_USE_PROPERTY, 
Boolean.FALSE);
{code}

sets the "SOAPACTION_USE_PROPERTY" property to FALSE. A correct behaviour could 
be reached by setting:
{code}
portObject.getRequestContext().put(BindingProvider.SOAPACTION_USE_PROPERTY, 
Boolean.TRUE);
{code}







--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to