From the reference guide:

The server is configured (by default) by values in the server-config.wsdd file, though a dedicated Axis user can write their own configuration handler, and so store configuration data in an LDAP server, database, remote web service, etc. Consult the source on details as to how to do that. You can also add options to the web.xml file and have them picked up automatically. We don't encourage that as it is nice to keep configuration stuff in one place.

stephen


Srinath Perera wrote:


Hi

Do not know a graceful method to do it, yet this is the place org.apache.axis.configuration.EngineConfigurationFactoryServlet that has
the logic of loading the config file.


If u do not get other option may be worth trying change the logic to get
the param at the place rather than use just "WEB-INF/server-config.wsdd"

hope this helps

Srinath


On Mon, 2003-10-13 at 18:42, Guillaume Sauthier wrote:


Hi all!

I have multiple AxisServlet in a webapp. Each AxisServlet is in charge
of some services endpoint.
So I must have multiple server-config.wsdd file (1 for each
AxisServlet).
But how can I tell Axis to take not the WEB-INF/server-config.wsdd but
another file (ex : WEB-INF/<servlet-name>-server-config.wsdd).
I try with an init-param like this but it does not work :
<servlet>
<servlet-name>AxisServlet1</servlet-name>

<servlet-class>org.apache.axis.transport.http.AxisServlet</servlet-class>
<init-param>
 <param-name>axis.ServerConfigFile</param-name>
 <param-value>WEB-INF/AxisServlet1-server-config.wsdd</param-value>
</init-param>
</servlet>

Is there a way to tell axis the new wsdd to load with init-param ??

Regards

Guillaume








Reply via email to