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

Nick Gallardo updated AXIS2-3448:
---------------------------------

    Fix Version/s: 1.4

> JAX-WS 2.1: Support @MTOM and MTOMFeature
> -----------------------------------------
>
>                 Key: AXIS2-3448
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3448
>             Project: Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: jaxws
>    Affects Versions: 1.4
>            Reporter: Nick Gallardo
>            Assignee: Nick Gallardo
>             Fix For: 1.4
>
>
> JAX-WS 2.1 adds some new config options for enabling MTOM, along with adding 
> some new capabilities to the MTOM function.  This will mostly leverage 
> existing infrastructure, but will also require some additional functionality 
> and coordination with the message model.  A quick summary of the work to be 
> done:
> 1. [DONE] Update the metadata APIs to reflect whether or not the MTOM 
> configuration was found on the endpoint.  
> 2. [DONE] Update the annotation processing code to pick off the @MTOM 
> annotation when included on an endpoint.
> 3. [DONE] Update the client creation code off of the ServiceDelegate to set 
> the appropriate values when the MTOMFeature is configured for client 
> instances. 
> 4. Change the marshalling code to read the threshold and toggle MTOM when 
> appropriate.  
> Here are some examples of the new ways that MTOM can be configured.
> Before:
> @WebService
> @BindingType(SOAPBinding.SOAP11_HTTP_MTOM)
> public class MyServiceImpl {
>     ...   
> }
> After:
> @WebService
> @MTOM
> public class MyServiceImpl {
>     ...
> }
> Additionally, the threshold is configured as such.  
> @WebService
> @MTOM(enabled="true", threshold="2000")
> public class MyServiceImpl {
>     ...
> }
> On the client side, the configuration changes a little bit as well.  Here are 
> a few examples of how this will be done.
>         
> MTOMFeature mtom = new MTOMFeature();
> mtom.setEnabled(true);
> mtom.setThreshold(2000);
> Service service = Service.create(myServiceWSDL, serviceName);
> MyProxy proxy = service.getPort(portName, MyProxy.class, mtom);

-- 
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