Hello Jesus, Axis 1.x client thread safety has been discussed on the mailing list under the subject "Generated Stub Thread-safe?" (2006-01-19) : http://marc.theaimsgroup.com/?l=axis-user&m=113771126214607&w=2
Here is an abstract : "If you use stateless soap calls, the simplest pattern is to use : - a single instance of the serviceLocator (acts as the stub factory) - to instantiate one new instance of the stub for each call and then throw this instance away If you use stateful soap calls, the simplest pattern is to use : - a single instance of the serviceLocator (acts as the stub factory) - to instantiate one new instance of the stub per session, perform the calls and then throw this instance away" Hope this helps, Cyrille -- Cyrille Le Clerc [EMAIL PROTECTED] [EMAIL PROTECTED] +33 6.61.33.69.86 On 6/1/06, Jesus Salvo Jr. <[EMAIL PROTECTED]> wrote:
I have a client classes generated from a WSDL via Eclipse's Axis-plugin. Thus, I have a ServiceLocator, from where I obtain a service / client stub that extends org.apache.axis.client.Stub. The question is, is a single instance of this service thread safe ?? The only reference which suggest that it is thread safe is this: http://mail-archives.apache.org/mod_mbox/ws-axis-dev/200206.mbox/ <OF5432367E.A194B7D9-ON86256BD6.0076F5CE%40us.ibm.com> ... but I would prefer to have confirmation from this mailing list. Thanks, John --------------------------------------------------------------------- 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]
