You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Punnoose, Roshan" <pu...@bah-systems.com> on 2006/08/24 22:58:26 UTC

MTOM Client

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

 


Re: MTOM Client

Posted by robert lazarski <ro...@gmail.com>.
Oops, I meant:

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

On 8/24/06, robert lazarski <ro...@gmail.com> 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 <pu...@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


Re: MTOM Client

Posted by robert lazarski <ro...@gmail.com>.
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 <pu...@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