Re: Stateful web service

2007-02-09 Thread robert lazarski
Two common ways are with soap sessions or rolling your own via something like ehcache and java.util.UUID. Both have their advantages and disadvantages. The latter comes with axis2 but AFAIK doesn't have recovery after server shutdown, though something like sandesha might. The former also has a lot

Re: stateful web service

2006-08-01 Thread Deepal Jayasinghe
> >Thanks > >-Original Message- >From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] >Sent: Sunday, July 30, 2006 10:38 PM >To: axis-user@ws.apache.org >Subject: Re: stateful web service > >did you engage addressing module ? >if yes serviceGroupId is inside th

RE: stateful web service

2006-07-31 Thread Shaowei Mao
PROTECTED] Sent: Sunday, July 30, 2006 10:38 PM To: axis-user@ws.apache.org Subject: Re: stateful web service did you engage addressing module ? if yes serviceGroupId is inside the was:ReplyTo header. Shaowei Mao wrote: > Hi, I implemented a web service by generating stub and skeleton from >

Re: stateful web service

2006-07-30 Thread Deepal Jayasinghe
did you engage addressing module ? if yes serviceGroupId is inside the was:ReplyTo header. Shaowei Mao wrote: > Hi, I implemented a web service by generating stub and skeleton from > wsdl. Now I want to turn them into stateful. I have been looking > through mailing list and found that I need to s

Re: stateful web service

2006-07-30 Thread Warren Crossing
In the client call you need to set MaintainSession true. Excuse the brief reply but I'm BAAF. Shaowei Mao wrote: Hi, I implemented a web service by generating stub and skeleton from wsdl. Now I want to turn them into stateful. I have been looking through mailing list and found that I need to set

Re: Stateful Web Service

2006-03-21 Thread Nayana Hegde
Hi,     I actually got it. I had not added the servlet jar file into the project in eclipse and therefore was not getting the getHttpSession Method. Anyways thanks for the reply.     Thanks and Regards, Nayana  On 3/21/06, Dies Koper <[EMAIL PROTECTED]> wrote: Use its getHTTPSession() method.You mi

Re: Stateful Web Service

2006-03-21 Thread Dies Koper
Use its getHTTPSession() method. You might want to learn to use APIs' javadocs. Just google for ServletEndpointContext, the Javadoc is its first find. Nayana Hegde wrote: Hi Prashanth, Can you let me know as to how to retreive the HTTPSession from ServletEndpointContext ? Thanks and Regar

Re: Stateful Web Service

2006-03-21 Thread Nayana Hegde
Hi Prashanth,     Can you let me know as to how to retreive the HTTPSession from ServletEndpointContext ?   Thanks and Regards, Nayana  On 3/21/06, prashanth shivakumar <[EMAIL PROTECTED]> wrote: This is how i have done it.. Some of the people over in this forum suggested the same..   Make your

Re: Stateful Web Service

2006-03-21 Thread prashanth shivakumar
This is how i have done it.. Some of the people over in this forum suggested the same..   Make your servlet webservice  endpoint interface implement javax.xml.rpc.server.ServiceLifecycle interface Than you need to define init() and destroy() methods. Using ServletEndpointContext you can retrieve HT

Re: Stateful Web Service

2006-03-20 Thread Jyotishman Pathak
The WSRF specs provide a standard way of implementing/interacting with stateful Web services. I recommend having a look at: http://ws.apache.org/wsrf/- Jyoti On 3/20/06, Nayana Hegde <[EMAIL PROTECTED]> wrote: Hi,     Is it possible to implement a stateful web service using Axis? If yes please do l