@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