I didn't configure MTOM on the client side. The only configuration I've made
is 

- jaxws endpoint configuration for MTOM (beans.xml)
- MIMEType annotation application/octet-stream for the binary data


I don't know how to configure the client via xml (or by code). I use jaxws
as frontend. I saw that the client can be configured by xml (in the
beans.xml file ) but I don't know how. I would appreciate if you can show me
a sample.

thanks in advance

Nuka











Dan Diephouse wrote:
> 
> What does your client code look like? You probably aren't configuring MTOM
> right on the client side.
> 
> Cheers,
> - Dan
> 
> On 8/20/07, nuka <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hello,
>>
>> I have some problems when enabling MTOM for CXF generated client.
>> I've made the configuration for MTOM as suggested in the user guide for
>> both
>> client and server side.
>>
>> - jaxws endpoint configuration for MTOM (beans.xml)
>> - MIMEType annotation application/octet-stream for the binary data
>>
>>
>> The server is ok, its responses support MTOM. But the client requests are
>> not MTOM based. The binary data is embedded in the SOAP body.
>>
>> I believe I've missed something on the client side configuration but I
>> don't
>> know what.
>>
>> Thanks in advance
>> Nuka
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/enable-MTOM-client-tf4300910.html#a12242043
>> Sent from the cxf-user mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Dan Diephouse
> Envoi Solutions
> http://envoisolutions.com | http://netzooid.com/blog
> 
> 

-- 
View this message in context: 
http://www.nabble.com/enable-MTOM-client-tf4300910.html#a12250034
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to