axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "robert lazarski" <robertlazar...@gmail.com>
Subject Re: MTOM Client
Date Thu, 24 Aug 2006 21:19:50 GMT
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 <punnooser@bah-systems.com> 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: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message