[ 
https://issues.apache.org/jira/browse/CXF-1196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541532
 ] 

Glen Mazza commented on CXF-1196:
---------------------------------

No, actually it is even slightly deprecated in 2.1 (although still a part of 
it).  It is on page 120 of the JAX-WS 2.0 standard of April 2006.  This is a 
bug.

I would like to help out more in code but I still have more learning to do, so 
I can't emphasize coding as much right now.  Just determining these errors 
takes a long time by itself.


> @BindingType(SOAP11HTTP_MTOM_BINDING) is not activating MTOM
> ------------------------------------------------------------
>
>                 Key: CXF-1196
>                 URL: https://issues.apache.org/jira/browse/CXF-1196
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0.2
>            Reporter: Glen Mazza
>            Priority: Minor
>
> The following attribute placed on the SEI implementation class will activate 
> MTOM for GlassFish Metro but not for Apache CXF:
> @BindingType(value=javax.xml.ws.soap.SOAPBinding.SOAP11HTTP_MTOM_BINDING)
> To confirm this, I used this class:
> http://www.jroller.com/gmazza/date/20071102#NWSstep6
> And the following additional tests:
> 1.) By removing/adding the above annotation, MTOM was turned off/on with Metro
> 2.) By adding the below to my cxf-servlet.xml config file, MTOM was turned on 
> by CXF (i.e., so CXF can indeed do MTOM, it's just that the above annotation 
> doesn't work.)
>         <jaxws:properties>
>            <entry key="mtom-enabled" value="true"/>
>         </jaxws:properties>        
> Page 130, bottom, of the WS 2.1 specification of May 2007 says that this 
> binding (as well as SOAP12HTTP BINDING) should enable MTOM.  

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

Reply via email to