OK, I just tried, it seems that I can only use the name axis2.xml. I can 
specify different folds and axis2/c will look for axis2.xml in that fold. I can 
also specify a file path ended with axis2.xml. All works fine. But axis2/c will 
fail to create a wb service client if I specify a full file path with a name 
different from axis2.xml.
 
I think this needs to be fixed. In my environment, my web service client needs 
to connect to several web service providers with different configurations, it 
would be convenient if I can create several config files with different names.
 
Thanks!
Frank

--- On Mon, 3/2/09, Samisa Abeysinghe <sam...@wso2.com> wrote:


From: Samisa Abeysinghe <sam...@wso2.com>
Subject: Re: multiple configurations (multiple axis2.xml with different names)?
To: "Apache AXIS C User List" <axis-c-user@ws.apache.org>
Date: Monday, March 2, 2009, 1:35 AM


Raymond Zhou wrote:
> OK, Thanks Dinesh.
>  So it seems that I can create multiple configuration files all named 
>axis2.xml but put in different folds, and in each axis2.xml, specify the 
>library and module locations pointing to the single axis2/c installation.
>  It would be nice if I can create multiple configuration files with different 
>names, so I can put them in a same fold, and then set the axis2_home 
>programmatically.
> 

That should be possible, but we might have to pach the current implementation 
of config builder.

Thanks,
Samisa...

>  Thanks!
> Frank
>  
> 
> --- On *Fri, 2/27/09, Dinesh Premalal /<xydin...@gmail.com>/* wrote:
> 
>     From: Dinesh Premalal <xydin...@gmail.com>
>     Subject: Re: multiple configurations (multiple axis2.xml with
>     different names)?
>     To: axis-c-user@ws.apache.org
>     Cc: raywang...@yahoo.com, axis-c-...@ws.apache.org
>     Date: Friday, February 27, 2009, 7:53 PM
> 
>     Raymond Zhou <raywang...@yahoo.com> writes:
>     > I was wondering if I can have multiple configuration file with different
>     name
>     > in the same axis2_home fold. What I need is this: in the same axis2_home
>     fold,
>     > I would like to have axis2_1.xml, axis2_2.xml, axis2_3.xml and so on and
>     so
>     > forth, then when I want to connect to different web servers, I can use
>     these
>     > different configuration files.
> 
>     http://wso2.org/library/3330
> 
>     thanks,
>     Dinesh
>               
> 
> ------------------------------------------------------------------------
> 
> 
> Internal Virus Database is out of date.
> Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 
> 270.10.7/1892 - Release Date: 1/13/2009 8:04 PM
> 
>   


-- Samisa Abeysinghe Director, Engineering; WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"




      

Reply via email to