Re: Axis2c MTOM large file downloading problem

2009-03-02 Thread Kuba Tomiczek
Thank you for the response Manjula I turned on caching (on client) by: axis2_options_set_property(options, env, AXIS2_CACHE_ATTACHMENTS, propertyCacheAttachments); axis2_options_set_property(options, env, AXIS2_ATTACHMENT_TEMP_DIR, propertyAttachmentDir); and experimented with

Re: Axis2c MTOM large file downloading problem

2009-03-02 Thread Kuba Tomiczek
I have one more question regarding high memory usage levels - I found this discusssion http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200805.mbox/%3c1211391535.10358.25.ca...@manjula%3e and I just would like to confirm (I am using AXIS2C version 1.4): It is impossible to have chunk

Re: Axis2c MTOM large file downloading problem

2009-03-02 Thread Samisa Abeysinghe
Kuba Tomiczek wrote: I have one more question regarding high memory usage levels - I found this discusssion http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200805.mbox/%3c1211391535.10358.25.ca...@manjula%3e and I just would like to confirm (I am using AXIS2C version 1.4): It is

Re: Axis2c MTOM large file downloading problem

2009-03-02 Thread Manjula Peiris
To enable caching you need to set either attachmentDIR or MTOMCachingCallback. MTOMBufferSize will set the threshold. Default is 1MB. All these parameters should be set in the axis2.xml. The link I sent you in the previous mail explains these. On Mon, 2009-03-02 at 12:05 +0100, Kuba Tomiczek

Re: Axis2c MTOM large file downloading problem

2009-03-02 Thread Manjula Peiris
On Mon, 2009-03-02 at 19:18 +0530, Samisa Abeysinghe wrote: Kuba Tomiczek wrote: I have one more question regarding high memory usage levels - I found this discusssion http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200805.mbox/%3c1211391535.10358.25.ca...@manjula%3e and I

Axis2c MTOM large file downloading problem

2009-02-27 Thread Kuba Tomiczek
Hello all, I have the following problem: In my application the server side sends to the client a file, using Axis2c, SOAP11 and MTOM (So it is downloading a file instead of uploading what occured in all the examples I found). If the file is quite small (up to something about 45 MB),

Re: Axis2c MTOM large file downloading problem

2009-02-27 Thread Manjula Peiris
For larger files you should enable caching. see [1] for more details. [1]http://wso2.org/library/articles/sending-receiving-attachments-axis2-c -Manjula. On Fri, 2009-02-27 at 13:35 +0100, Kuba Tomiczek wrote: Hello all, I have the following problem: In my application the server side