axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nencho Lupanov" <nencholupa...@googlemail.com>
Subject Re: [axis2 ]soap session scope does not work
Date Thu, 26 Apr 2007 11:15:46 GMT
Hi Anil,

Thanks but this is for this but it is
about transport session scope and i need soap session scope,
where ws addressing come to play and sends an identifier(pretty much like a
cookie)
that is passed fforth and back.

Thanks,
Nencho


2007/4/25, Anil Chukkapalli <anilchukkapalli@gmail.com>:
>
> You can look at the thread "Axis2 Manage Session Cookie Manually"
>
> On 4/25/07, Paul Fremantle <pzfreo@gmail.com > wrote:
> >
> > Nencho
> >
> > Think of this as a cookie. The client has to be enabled to respond
> > with cookies, but that doesn't create the cookie in the first place.
> > To make this work you need to set
> >
> > <service scope="soapsession">
> >
> > in services.xml
> >
> > Now the server will set the ref params in the reply-to header. If you
> > have setManageSession(true) now the client will send them back.
> >
> > Paul
> >
> > On 4/25/07, Nencho Lupanov <nencholupanov@googlemail.com> wrote:
> > > Hi All,
> > >
> > > I read this axis2 session management article:
> > > http://www.developer.com/java/web/article.php/3620661
> > >
> > > Basically, it says that i can define my services being of a soap
> > session
> > > scope,
> > > then i have to put this option on my client:
> > > options.setManageSession(true);
> > >
> > > Therefore it is expected for the service to include
> > > <wsa:ReferenceParameters>
> > > element as an session identifier in the soap envelope.
> > >
> > > I tested this and it does not work - axis2 does not put that element,
> > in
> > > order
> > > to be used as session identifier.Am i missing something or this is a
> > bug?
> > >
> > > Thanks,
> > > Nencho
> > >
> > >
> >
> >
> > --
> > Paul Fremantle
> > VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
> >
> > http://bloglines.com/blog/paulfremantle
> > paul@wso2.com
> >
> > "Oxygenating the Web Service Platform", www.wso2.com
> >
> > ---------------------------------------------------------------------
> > 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