Additional info:

I have tried moving to using ByteArrayDataSource to setup the data handler,
as below, but the attachment still doesn't get returned.


InputStream inputStream= new FileInputStream(uploadDocumentFolder + "/" +
getFilename());
byte currentXMLBytes[] = inputStream.toString().getBytes();
ByteArrayInputStream bais = new ByteArrayInputStream(currentXMLBytes);
ByteArrayDataSource source = new
ByteArrayDataSource(bais,"application/octet-stream");
dh = new DataHandler(source);
-- 
View this message in context: 
http://www.nabble.com/MTOM-return-attachment---empty-tp21250413p21287337.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to