One additional piece of info. I am using Message Mode. I tried the stream mode and that did not dispatch attachments.
@WebServiceProvider(portName = "ProxyProviderPort", serviceName = "ProxyProviderService", targetNamespace = "http://sandbox.aaa.com/proxy") @ServiceMode(Mode.MESSAGE) @MTOM public class MyProxyServiceProvider implements Provider<SOAPMessage> { @Override public SOAPMessage invoke(SOAPMessage request) { Dispatch<SOAPMessage> disp = service.createDispatch(xxx, SOAPMessage.class, Service.Mode.MESSAGE, new MTOMFeature(4000)); return disp.invoke(request); } } -- View this message in context: http://cxf.547215.n5.nabble.com/Provider-with-MTOM-Stream-tp5725571p5725610.html Sent from the cxf-user mailing list archive at Nabble.com.
