Hi,

I seem to be having an issue with the DataHandler when using MTOM.  If I
send a binary file to my web service with MTOM disabled and I call:

InputStream is = dataHandler.getInputStream();

and I do:

LOG.debug(is.available() + " bytes");

I get "XXXX bytes".

If I enable MTOM on both client and server I get 0 bytes.

Should I be reading in the DataHandler differently when using MTOM?

Kindest Regards,

Jon M.

--
View this message in context: 
http://cxf.547215.n5.nabble.com/DataHandler-InputStream-0-Bytes-Using-MTOM-tp4575283p4575283.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to