Hi,
I have OutofMemory exception problem with axis1.4, when I try to receive files.
Were you able to resolve it?
It is working fine with small attachments around 2MB.
I checked the soap message in tcpMon, but still I see the file binary data 
inside the soap message. (not out side envelope).
I am using the datahandler type, which is used for base64binary attachment

My client code is as follows.
FileOutputStream os = new FileOutputStream("C:\\temp\\images\\iiad.zip");
FileRawDataType fileRawDataType = fileAttachmentType.getFileRawData();
DataHandler dataHandler = fileRawDataType.getFileRawDataType();
dataHandler.writeTo(os);
os.flush();
os.close();

fileRawDataType is a class defined by me for dataHandler type.
I enabled the file caching in the axis2.xml, also the MTOM.
Do you have any idea?

Thankx.

Regards,
Shehan

Reply via email to