When using Axis as a server, the configuration is picked up via the
ServletEngineConfigurationFactory class, which always uses the file
WEB-INF/server-config.wsdd. I am wondering if this is deliberate, or if the
system property "axis.ServerConfigFile" should be picked up to define which
configuration file is used. When using axis as a client the property
"axis.ClientConfigFile" can be used to decide where the configuration file
should be picked up from, and works fine.

If this property should be picked up, the fix is quite simple as the
ServletEngineConfigurationFactory just needs access to the serverConfigFile
member from the parent DefaultEngineConfigurationFactory class.

Is there any reasoning why the server configuration file should always be
located in the same location when using a webapp? I am not sure if this is a
bug or a feature hence this post :)

Regards,

Neil


Reply via email to