Hi, We have to use Apache CXF for a client request and we want data of type base64Binary sent base64-encoded. <element name="binaryData" type="xsd:base64Binary" minOccurs="0" maxOccurs="1"/>
We tried to diable mtom with the following statement, but Apache CXF is always sending the request with a XOP-Include. <binaryData><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:5621521f-0b8b-4df4-be91-75a9cd070136-1@http%3A%2F%2Fadobe.com%2Fidp%2Fservices"/></binaryData></formData> We tried the following to disable XOP/MTOM: ((BindingProvider) pt).getRequestContext().put("mtom-enabled", Boolean.FALSE); ((BindingProvider) pt).getRequestContext().put("write.attachments", Boolean.FALSE); SOAPBinding binding = (SOAPBinding) (((BindingProvider) pt).getBinding()); binding.setMTOMEnabled(false); Any ideas how to disable XOP/MTOM in our client request? Best regards Siegfried
