Michele,

I use code like this on the client:

Options options = new Options();
options.setProperty(Constants.Configuration.CACHE_ATTACHMENTS,
                                Constants.VALUE_TRUE);
serviceClient.setOptions(options);

Betsy

-----Original Message-----
From: Michele Mazzucco [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 29, 2007 8:34 AM
To: [email protected]
Subject: RE: [Axis2] ConfigurationContext configuration

Betsy,

thanks. However I would like to change the parameters on the client
side.
Any clue?

Michele

On Thu, 2007-03-29 at 08:13 -0700, Betsy Frey wrote:
> Michele -
> I don't know if this will help, but I modify values in the
AxisConfiguration
> using code like this:
> 
> MessageContext msgContext = MessageContext.getCurrentMessageContext();
> AxisConfiguration axisConfig = msgContext.getConfigurationContext()
>     .getAxisConfiguration();
> Parameter param = 
>
axisConfig.getParameter(Constants.Configuration.CACHE_ATTACHMENTS);
> param.setValue("true");
> 
> Betsy
> 
> -----Original Message-----
> From: Michele Mazzucco [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 29, 2007 8:00 AM
> To: axis2
> Subject: [Axis2] ConfigurationContext configuration
> 
> Hi all,
> 
> I've already seen this document [1] and I would like to know if
there's
> any way to create a ConfigurationContext, without loading it from a
> file, with all default parameters apart from the http server port.  
> 
> Thanks,
> Michele
> 
> 
> [1] http://wso2.org/library/585
> 
> 
> ---------------------------------------------------------------------
> 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]
> 


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


**********************************************************************
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. Any 
unauthorized review, use, disclosure or distribution is prohibited. If you are 
not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message.


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

Reply via email to