You betcha.
<service name="name" provider="{provider}">
<parameter name="scope" value="{request/session/application}"/>
...
</service>
"request" will get you a new object each request. "application" uses a singleton
(which should be thread-safe). "session" uses either HTTP sessions or SOAP headers to
get an object per connection with timeouts.
The more general problem of lacking good WSDD documentation is still on the todo list
- there's some in the user's guide, but it's gotten a bit out of sync with the
code/schema. I'll try to push this towards the top of my list (or find another
volunteer :)) sometime soon.
--Glen
> -----Original Message-----
> From: Akira Hirose [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 20, 2002 9:23 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Where is the WSDD specification.
>
>
>
> Thank you for the information.
>
> My interest in the WSDD was how to specify the life span of
> a service instance. Apache SOPA 2.2 has a 'scope' property
> which define the life span, I think.
> architecture-guide.html says "Each handler needs configuration
> in terms of..., and a lifecycle scope value which determines
> the scope of sharing of instances of the Handler. " So, I guess
> if I can tell axis whether to use the singleton service instance
> for all SOAP request, or to use new instance for each request/session.
>
> Does Axis have any option for a SOAP service instance?
>
> Thank you.
>
> /* akira.hirose */
>
>
> "Adam.Leggett" wrote:
> >
> > Remember, Axis is in alpha, and is still changing. What is
> shipped will at
> > least get you started, and you can always look at the
> current code build
> > yourself.
> >
> > In the meantime, here is some additional documentation:
> >
> >
http://cvs.apache.org/viewcvs.cgi/~checkout~/xml-axis/java/docs/architecture
> -guide.html
>
......
> >
> > Akira Hirose wrote:
> >
> > > Hi.
> > >
> > > Would you mind tell me where can I get the specification
> > of Web Service Deployment
> > > Descriptor (WSDD)? xml-axis-alpha3/docs/user-guide.html
> > tells not so much.
> > >
> > > Thanks in advance.
> > >
> > > /* akira.hirose */
> > >