Hi, Arlindo!
 
Is it possible that you have stored data in static fields (class variables) in 
your service implementation? For an explanation about the difference between 
instance and class variables, see 
http://java.sun.com/docs/books/tutorial/java/javaOO/classvars.html
 
Please forgive me if this is second nature to you :) 
 
-- 
Regards, 
Ove Gram Nipen
 

________________________________

Fra: Michele Mazzucco [mailto:[EMAIL PROTECTED]
Sendt: ma 10.12.2007 15:03
Til: [email protected]
Emne: Re: Service Life Cicle



Arlindo,

you probably messed around the configuration -- by default axis2 
services run in request scope, which means that every invocation has 
it's instance.
Please see the links below:

http://wso2.org/library/259
http://www.developer.com/open/print.php/10930_3589126_3
http://www.developer.com/java/web/article.php/3620661


Michele

On 10 Dec 2007, at 13:47, Arlindo Luis Marcon Junior wrote:

> Hi All
>
> I have a litlle problem here... ( newbie )
> I'm created a Web Service,,, ( one cliente and one service with 
> AXIOM )... In the first invocation everything works fine...
> but,,, if I try make a second or third invocation I perceived that 
> Axis2 1.3 retained the variables of the preceding call...
> (TomCat 6.0.14, JDK 1.6)
>
> I tried change the 'scope' parameter in my service.xml (eg: 
> request ),,, but nothing...
> I need something like a new instance each time,,, a new execution 
> with no parameters...
> Axis2 can make this, or I need restart my variables when my servive 
> receive a new request...
>
> Can Someone, please, give-me a direction... ( an sample, an tutorial )
>
> Many Thanks in Advance
> ( sorry my english )
>
> --
> Arlindo Luis Marcon Junior
> E-mail: [EMAIL PROTECTED]
> Internet Web Page: http://lattes.cnpq.br/6483462042489662
> ICQ: 138864173
> Curitiba - ParanĂ¡ - Brasil
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



<<winmail.dat>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to