Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

location of the simpleaxisserver's configuration file

 
Olivier Daguenet
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I've a java class which start a SimpleAxisServer server.
Thanks to a Windows service, I can execute this Java class.
The SimpleAxisServer server allows me to reach in Web Services. These Web Services are defined in a configuration file named "server-config.wsdd" This configuration file must be placed where we start the SimpleAxisServer server.

To be more clear, this exemple show how to start SimpleAxisServer thanks to a .bat file :

cd toto
set CLASSPATH=my classpath...

java -cp %CLASSPATH% org.apache.axis.transport.http.SimpleAxisServer -p 8080

In this case, the configuration file must be in the directory toto. Otherwise, SimpleAxisServer'll not find it.

In my case, SimpleAxisServer is started by a Windows Service. So I must place the configuration file at c:\winnt\system32 : where the Windows Services console is...

I don't want to have this configuration file in c:\winnt\system32.
So my question is : is there a way to define the location of the configuration file ?

I work with Windows XP.

I hope to have been clear, thanks in advance for your answers...
Olivier
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not familiar with the SimpleAxisServer, but Axis in its general form does not let you configure where the WSDD file goes, so I doubt that a simpler version of it can do that.
 
Olivier Daguenet
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems to be true, but it's a pity...
I keep on searching for a way...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic