Hi, I thinks you speak about scope in web service. You can specify scope for your service with an extra parameter in wsdd file:
... <Parameter name="scope" value="Application"/> ... By default, this parameter is set to Session Regards Jean MArc ----- Original Message ----- From: "Torsten R�ger" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 18, 2002 9:23 AM Subject: Re: Newbie Instantiation question > Anybody ? > > I still don't know even wheather this is too stupid a question or noone > knows the answer, or I didn't make myself clear ? > > Any help apreciated , > > Torsten > > > Moi, > > > > so I just got my "hello world" (userguide/example3) to work and all > > looks fine. > > > > But for real life, I want to access existing objects. So axis wouldn't > > intantiate the object, especially not for every call to the service. > > > > Is there a way to describe this using the wsdd. For example to specify > > a factory method for the class ? > > As in: > > > > <deployment xmlns="http://xml.apache.org/axis/wsdd/" > > xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> > > > > <service name="MyService" provider="java:RPC"> > > <parameter name="className" > > value="samples.userguide.example3.MyService"/> > > #### guess work #### > > <parameter name="factoryMethod" value="my.package.class.staticMethod" > > > <arg name="uri" /> ## or <arg name="serviceName"/> > > ### ?? > > <parameter name="allowedMethods" value="*"/> > > </service> > > > > </deployment> > > > > Any other ideas how to do this are welcome , > > > > Thanks > > Torsten > > > >
