I should probably go into more detail. I am extremely new to this. So
far I have more or less followed the documentation to get stuff up and
running. I have tomcat installed with axis copied over to the webapps
directory of tomcat. I have my class copied over to the classes section
of WEB-INF for axis. I have a deploy.wsdd that I wrote and I used the
command line tool to deploy my class as a service. I see no service.xml
files anywhere. If there is another process I should be following, a
point the in the right direction would be greatly appreciated.
Fabian Linz wrote:
Hi Josh,
> would like to pass the location of the config file to the service
when it starts so it can set up the appropriate connections
From where do you want to pass the information? From the service.xml
of the service?
If so you can use parameters. See section 6 in
http://www.developer.com/open/article.php/10930_3589126_2
Regards
Fabian
I can not try it out at the moment but I think it is possible to
Josh Potter wrote, On 09.05.2006 15:50:
Greetings,
I have been searching for a few days now and cannot figure out how to
pass a value to the constructor of my class or web service. My
situation is like this, I have a config file that I want to load that
holds database connection settings. My service scope will be
Application. I would like to pass the location of the config file to
the service when it starts so it can set up the appropriate
connections to the database based on the values in the config file.
If any more information is needed I would be happy to provide.
Thanks,
Josh Potter