axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benazech Cédric <Cedric.Benaz...@atosorigin.com>
Subject RE: How to ask Axis to start a WebServcie
Date Thu, 16 May 2002 14:35:01 GMT
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:Sylvain.StGermain@cognos.com]
Envoyé : jeudi 16 mai 2002 16:20
À : axis-user@xml.apache.org
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:Cedric.Benazech@atosorigin.com]
Sent: Thursday, May 16, 2002 9:17 AM
To: 'axis-user@xml.apache.org'
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.

Mime
View raw message