Hi, Your configuration seems to be OK.
Do you use generated client? Could you paste the client code here as well? Which version of CXF do you use? Regards, Andrei. > -----Original Message----- > From: Stefan Magnus Landrø [mailto:[email protected]] > Sent: Freitag, 19. April 2013 14:44 > To: [email protected] > Subject: CXF mtom on the client > > Hi, > > We are trying to enable mtom on the client side using the following config > > <jaxws:client id="........"> > > <jaxws:properties> > <entry key="mtom-enabled" value="true"/> > </jaxws:properties> > > </jaxws:client> > > but are seeing some unexpected results. > > 10 MB files get inlined in the soap message as base64 even if cxf generating a > HTTP mulitpart request. > > And yes, we have enabled mtom in the wsdl: > > <xs:element minOccurs="0" name="content" type="xs:base64Binary" > xmime:expectedContentTypes="application/octet-stream"/> > > And, responses containing large files, get split into several parts in the > http > response. > > What could be going on? > > Cheers > > Stefan
