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

Reply via email to