No, the init would be triggered through a SOAP call.
Sylvain.

-----Original Message-----
From: Benazech C�dric [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 10:35 AM
To: '[EMAIL PROTECTED]'
Subject: RE: How to ask Axis to start a WebServcie 


But the init() would have to be static ... and my thread could not interact
with the instance of the WebService that Axis hasn't create yet.

But it's a good idea : i can make the servlet do a http request to the ?wsdl
of the service => that will start the webservice.

thx for the idea ! 

C�dric


-----Message d'origine-----
De : St-Germain, Sylvain [mailto:[EMAIL PROTECTED]]
Envoy� : jeudi 16 mai 2002 16:20
� : [EMAIL PROTECTED]
Objet : RE: How to ask Axis to start a WebServcie 


I do not know if Axis allows that but for sure you could trigger it with
another serlvet which on startup would simply make a call to somekind of
init() method in your web service to get it started...

Sylvain.

-----Original Message-----
From: Benazech C�dric [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 9:17 AM
To: '[EMAIL PROTECTED]'
Subject: How to ask Axis to start a WebServcie 


Hello,

Is there a way to ask Axis to create the implementation classes of Web
Services as soon as the Axis Servlet is created.

My Web serice start a thread and I would like this thread to run before the
fisrt call to the service. Does a parameter like "load-on-startup" exists ?


C�dric

This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.

This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.

Reply via email to