Hi Deepal, thanks very much for help. I will try do this, i think this a good option to axis2, because some aplications have to run in many servers, and it prevents to deploy one servlet only to make this work. I have made with a servlet and it works, but i want do it throught axis2. I apreciate the application from all you to make a good axis2 and help us to developer using axis2.
Thanks
Valmir
On 7/13/06, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote:
Hi You need to add the init method into service impl class as follows;
public void init(ServiceContext stx) {
}
Valmir Macário wrote:
> Hi Deepal,
>
> I´ve try this, but the init method wasn´t called. I make deploy with
> application scope and put the init method on my service class but i
> haven´t success. You can give me more details.
>
> Thanks,
>
> Valmir
>
>
> On 7/12/06, *Deepal Jayasinghe* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> When you deploy your service in application scope , when the server
> start up init method will be called.
>
> I juts implement that , and that is available in SVN now.
>
> Valmir Macário wrote:
>
> > Hi all,
> >
> > Axis2 only start service when is made a first call to one operation,
> > but i need to start service as soon as the tomcat start, because a
> > need initialize a Timer(). I´ve trying the methot: void init()
> throws
> > AxisFault, in my service class but i don´t have success. I apreciate
> > if someone can help-me to get this behaviour in my service.
> >
> > Thanks,
> >
> > Valmir
>
>
> --
> Thanks,
> Deepal
> ................................................................
> ~Future is Open~
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
>
>
--
Thanks,
Deepal
................................................................
~Future is Open~
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]