jQuery in Action, 3rd edition
The moose likes Web Services and the fly likes location of the simpleaxisserver's configuration file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "location of the simpleaxisserver Watch "location of the simpleaxisserver New topic

location of the simpleaxisserver's configuration file

Olivier Daguenet

Joined: Dec 27, 2005
Posts: 6
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...
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42956
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

Joined: Dec 27, 2005
Posts: 6
It seems to be true, but it's a pity...
I keep on searching for a way...
I agree. Here's the link: http://aspose.com/file-tools
subject: location of the simpleaxisserver's configuration file
It's not a secret anymore!