Hi Nuno,
Axis just relies on reflection in finally invoking a service end point. AFAIK there is no service lifecycle implemented for webservices at least in Axis 1.x. But the work around that comes to my mind is rather than exposing that worker class (whose constructor you wish to be called), you expose an extra method or class and inside its implementation try to instantiate an object of that class, that should be fool-proof enough.
Regards
Jaya
On 12/15/05, Nuno Centeio <[EMAIL PROTECTED]> wrote:
Hi.
I'm a newbie to this web services thing.
I have a class that need's to perform some instructions when it loads,
e.g. I need to connect to a RMI Server.
How can I do that?
I've already put the scope as Application but the constructor is never
called... E.g in Servlets the engine calls init() to initialate the
Servlet... Is there a way to do that in Axis?
Thanks
--
-- Jaya
