Alekhya Gumudavelli created CXF-5560:
----------------------------------------
Summary: MTOM does not work
Key: CXF-5560
URL: https://issues.apache.org/jira/browse/CXF-5560
Project: CXF
Issue Type: Bug
Environment: I am using CXF 3.0.0 milestone 1
Reporter: Alekhya Gumudavelli
Priority: Critical
CXF forums claim that MTOM can be enabled by setting MTOMenabled property to
true.
((SOAPBinding)binding).setMTOMEnabled(true);
This alone is not inserting an xop include element on the base64 element. We
need a node level optimization mechanism like we do in axis2. We could not find
any such equivalent in CXF.
We have gone through CXF code and found that AttachmentOutInterceptor uses MTOM
enabled property to set content-type to “application/xop+xml” but it does not
have any other optimization logic or include xop href element.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)