axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Börkel ...@ap-ag.com>
Subject RE: Really need support
Date Thu, 07 Feb 2002 12:04:13 GMT
HI!

Great! :-)

Regards,
Thomas

> -----Original Message-----
> From: Glyn Normington [mailto:glyn_normington@uk.ibm.com]
> Sent: Donnerstag, 7. Februar 2002 12:48
> To: axis-user@xml.apache.org
> Subject: Re: Really need support
> 
> 
> Thomas,
> 
> >How to specify the location of server-config.wsdd?
> 
> I have put some changes into Axis in the last few days which 
> allow you to
> override the default filename of the server configuration 
> file. I am just
> tidying this up so that servlets will pick up the override 
> too, but the
> basic approach is to set the Java system property named
> "axis.ServerConfigFile" to the filename you want. You can 
> include a path as
> part of the filename if you need a location other than the current
> directory.
> 
> I haven't figured out how to test this yet, but the implementation is
> trivial (in
> org.apache.axis.configuration.DefaultEngineConfigurationFactor
> y), so it
> should be simple to debug if it doesn't work straight away ;-).
> 
> You could then replace your example code:
> 
> axisServer = new AxisServer(new FileProvider("G:\\axis-alpha3",
> "server-config.wsdd"));
> 
> with
> 
> axisServer = new AxisServer().
> 
> Glyn
> 
> 

Mime
View raw message