I am attempting to MTOM-enable my CXF service.

I am using the CXFServlet and Spring configuration.

I have added the following as a child of the <jaxws:endpoint> element in
the spring config file:

<jaxws:properties>
  <entry key="mtom_enabled" value="true"/>
</jaxws:properties>

Although my service seems to accept MTOM/XOP requests just fine, it
doesn't seem to be using MTOM for the reponses.  Is the spring
configuration above enough, or do I need to do something else?  Is there
a size threshold that needs to be exceeded in order for the response to
use MTOM?

I looked in the samples, but the sample MTOM project does not use Spring
configuration.

Thanks,
Chris

Reply via email to