Oops, I meant:

options.setProperty(org.apache.axis2.Constants.Configuration.CACHE_ATTACHMENTS,
Boolean.TRUE);

On 8/24/06, robert lazarski <[EMAIL PROTECTED]> wrote:
Try:

  options.setProperty(org.apache.axis2.Constants.Configuration.ENABLE_MTOM,
   Boolean.TRUE);

Make sure your using the latest nightlies:

http://people.apache.org/dist/axis2/nightly/

HTH,
Robert
http://www.braziloutsource.com

On 8/24/06, Punnoose, Roshan <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi,
>
>
>
> On the web page for Axis 2/MTOM, I saw that I could use the file system to
> cache large attachments being transferred; however, I only saw the server
> axis config file. How do I setup the client to do the same thing? Do I have
> to set it in the options?
>
>
>
> Server config: <axisconfig name="AxisJava2.0">
>     <!-- =================================================
> -->
>     <!-- Parameters -->
>     <!-- =================================================
> -->
>     <parameter name="cacheAttachments" locked="false">true</parameter>
>     <parameter name="attachmentDIR" locked="false">temp
> directory</parameter>
>     <parameter name="sizeThreshold" locked="false">4000</parameter>
>     .........
>     .........
> </axisconfig>
>
>
>
>
> Thanks!
>
>
>
> Roshan Punnoose
>
> Phone: 301-497-6039
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to