Title: How to specify the location of server-config.wsdd?
HI!
 
This did not work.
 
I tried:
 
    axisServer = new AxisServer(new FileProvider("G:\\axis-alpha3\\server-config.wsdd"));
But I get:
java.lang.Exception: No engine configuration file - aborting!
        at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:126)
 
 
The file does exist.
 
Any ideas?
 
Thanks!
 
Regards,
Thomas
-----Original Message-----
From: Glen Daniels [mailto:[EMAIL PROTECTED]]
Sent: Freitag, 1. Februar 2002 15:25
To: '[EMAIL PROTECTED]'
Subject: RE: How to specify the location of server-config.wsdd?

 
When you create an engine in your transport, you do something like this:
 
String myFileName = "/pathname/to/wsdd-file";
FileProvider config = new FileProvider(myFileName);
AxisServer server = new AxisServer(config);
 
--G
-----Original Message-----
From: Thomas Börkel [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 01, 2002 6:58 AM
To: Axis Mailinglist
Subject: How to specify the location of server-config.wsdd?

HI!

The docs are talking about the WEB_INF directory. I assume, if I have a servlet, then that's the current directory. But what if I have no servlet, but my own transport? I can't load files from the current dir, I need to have the ability to specify the config directory.

How can I do that?

Thanks!

Regards,
Thomas

Reply via email to