[ 
https://issues.apache.org/jira/browse/AXIS2-2978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nikhil Thaker closed AXIS2-2978.
--------------------------------


> Attachment optimization properties are not current in client request context
> ----------------------------------------------------------------------------
>
>                 Key: AXIS2-2978
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2978
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>    Affects Versions: M2
>            Reporter: Samuel Isokpunwu
>            Assignee: Nikhil Thaker
>         Attachments: bt66899patch.txt
>
>
> The client request context is not properly updated when mtom enablement state 
> properties changes.
> Example test scenario:
>            {
>                   ---------
>                   ---------
>                   SOAPBinding binding = (SOAPBinding)dispatch.getBinding();
>                   binding.setMTOMEnabled(true);
>                   ---------
>                   response = dispatch.invoke(request);
>                   ---------
>                   binding.setMTOMEnabled(false);
>                   ---------
>                   response = dispatch.invoke(request);
>                   ---------
>                   ---------
>            }
> Since the client request context for a previous request is being cached and 
> reused for a subsequent  request, any attachment optimization properties 
> changes, in the test scenario above, are ignored.  Will be adding code to 
> check and copy over any new properties updates.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to