Hi Joel,
Do you read a chapter; 'Scoped Services' on Axis User's Guide ?
| "Application" scope will create a singleton shared object
| to service all requests.
An instance of the web service is just one at a server ( if
you configure the service as "Application scope") , and it's
instantiated when it has the first access. In addition, the
instance will be able to keep the references of various objects
(if needed).
What do you want to do ?
Best Regards,
Toshi (Toshiyuki Kimura) <[EMAIL PROTECTED]>
R&D Headquarters
NTT DATA Corporation
-----Original Message-----
From: Shellman, Joel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 12:45 AM
To: '[EMAIL PROTECTED]'
Subject: Configuring a web service object
I set up a web service object in Axis: MyService (application scope). It
accesses various other modules in the application. I want to pass it
instances of the objects it should interact with. How can I do this?
1) Is there a way to control the instantiation of MyService so I can pass it
at that time?
2) Is there a way to get access to the instance that Axis is using so I can
call a method on it to pass the information to it?
Thank you,
Joel Shellman