When a option is set to _operation client it effects all operations called 
after that
-------------------------------------------------------------------------------------

                 Key: AXIS2-1857
                 URL: http://issues.apache.org/jira/browse/AXIS2-1857
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
            Reporter: Keith Godwin Chapman


Hi,

If I set a property to an options object of _operationClient and then call a 
sequence of methods on the stub, the property that I set applies to all 
operations called which is oncorrect. The reason is because the same options 
object is shared among all  of them. 

For eg. if I set the option 
_operationClient.getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.MC_GZIP_REQUEST,Boolean.TRUE);

Then all request messages sent after this is Gzipped.

Thanks,
-Keith 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to