axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaowei Mao" <s...@amindsolutions.com>
Subject RE: stateful web service
Date Mon, 31 Jul 2006 19:44:20 GMT
Engaging addressing module fixed the problem. I also need to extract service
group id and set it in soap header for all requests in the same session. It
would be nice to have a option in wsdl2java to generate these codes.

Thanks

-----Original Message-----
From: Deepal Jayasinghe [mailto:deepal@opensource.lk] 
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
> wsdl. Now I want to turn them into stateful. I have been looking
> through mailing list and found that I need to set service scope to
> soapsession and store state in the service group context. I did set
> the service scope to soapsession in the services.xml, but service
> didn't return service group id to the client and each time I invoked
> service, axis2 created a new instance for service implementation
> class. What else do I need to change in order to make it work?
>
> Shaowei Mao
>
> aMind Solutions LLC
>
> Phone: 425-313-3107
>
> Email: smao@amindsolutions.com <mailto:smao@amindsolutions.com>
>
> website: www.amindsolutions.com
>

-- 
Thanks,
Deepal
................................................................
~Future is Open~ 



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message