File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "location of the simpleaxisserver Watch "location of the simpleaxisserver New topic
Author

location of the simpleaxisserver's configuration file

Olivier Daguenet
Greenhorn

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...
Olivier
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41052
    
  43
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.


Ping & DNS - my free Android networking tools app
Olivier Daguenet
Greenhorn

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
 
Similar Threads
An unexpected error has been detected by HotSpot Virtual Machine
unexpected exception has been detected in native code
Java application crashes because of ODBC
compile error using ant in eclipse
WS 4 in Window NT Problem