On Wed, Jan 12, 2011 at 9:54 PM, Bartolomeo Nicolotti
<[email protected]>wrote:

> Hello,
>
> I've set the "hostname" parameter in axis2.xml by hand:
>
> <parameter name="hostname" locked="true">aaa.bbb.ccc.ddd</parameter>
>
> The problme is that we've different servers, so we've to keep a
> different axis2.xml for each one, and this is not good.
>
> We've already the value
>
> aaa.bbb.ccc.ddd
>
> for each server in another configuration file, is it possible to set the
> parameter
>
> hostname
>
> from java with
>
> ConfigurationContext
> AxisConfiguration
>
>
yes you can. if you have access to configuration context at some of your
custom code.

thanks,
Amila.


> Many thanks
>
> Best regards
>
> Bartolomeo
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Reply via email to