You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by shrabank <sh...@tarangtech.com> on 2006/10/05 06:17:03 UTC
Regarding Session Handling using Soap headers
Hi,
Can anybody say how can we handle session using soap headers in axis
1.4? What necessary configuration is required to handle the session?
My requirement is like this once a person logins through a login
service a session has to be created and stored as session Id in the Soap
Headers and
necessary permissions and roles will be assigned to do access other
webservices.
It will be of great help if any body can send me the link or codes to
do the session maintenance using soap headers in axis 1.4.
Its very urgent as i don't have time to do any R and D.
I am using axis 1_4 and tomcat 5.5.
Thanks in advance.
Regards
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient or received it in error, please contact the sender by reply e-mail and destroy all copies of the original message. Please do not copy it for any purpose or disclose its contents.
Copyright Tarang Software Technologies Pvt. Ltd. 2004. All rights Reserved
Re: Regarding Session Handling using Soap headers
Posted by robert lazarski <ro...@gmail.com>.
The easiest / quickest way that has worked for me is to just use the
java 5 java.util.UUID classs to create an id and then cache it via a
singleton or ehcache. You can either put it in the header or pass /
return it as a param.
HTH,
Robert
On 10/5/06, shrabank <sh...@tarangtech.com> wrote:
> Hi Anne,
>
> Isnt there any other way that we can handle the session except
> WS-Secure Conversation.Then 1.x how do you handle the session.What is
> the session management technique.
>
> Thanks in advance
> Regards
> Shraban
> Anne Thomas Manes wrote:
> > This is a job for WS-SecureConversation. I'm not aware of an
> > implementation of WS-SecureConversation for Axis 1.x.
> >
> > Anne
> >
> > On 10/5/06, shrabank <sh...@tarangtech.com> wrote:
> >> Hi,
> >>
> >> Can anybody say how can we handle session using soap headers in axis
> >> 1.4? What necessary configuration is required to handle the session?
> >> My requirement is like this once a person logins through a login
> >> service a session has to be created and stored as session Id in the Soap
> >> Headers and
> >> necessary permissions and roles will be assigned to do access other
> >> webservices.
> >> It will be of great help if any body can send me the link or codes to
> >> do the session maintenance using soap headers in axis 1.4.
> >> Its very urgent as i don't have time to do any R and D.
> >> I am using axis 1_4 and tomcat 5.5.
> >>
> >> Thanks in advance.
> >>
> >> Regards
> >>
> >>
> >>
> >>
> >>
> >> This e-mail and any files transmitted with it are for the sole use of
> >> the intended recipient(s) and may contain confidential and privileged
> >> information. If you are not the intended recipient or received it in
> >> error, please contact the sender by reply e-mail and destroy all
> >> copies of the original message. Please do not copy it for any purpose
> >> or disclose its contents.
> >>
> >> Copyright Tarang Software Technologies Pvt. Ltd. 2004. All rights
> >> Reserved
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
> >
> >
>
>
>
>
>
> This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient or received it in error, please contact the sender by reply e-mail and destroy all copies of the original message. Please do not copy it for any purpose or disclose its contents.
>
> Copyright Tarang Software Technologies Pvt. Ltd. 2004. All rights Reserved
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Regarding Session Handling using Soap headers
Posted by shrabank <sh...@tarangtech.com>.
Hi Anne,
Isnt there any other way that we can handle the session except
WS-Secure Conversation.Then 1.x how do you handle the session.What is
the session management technique.
Thanks in advance
Regards
Shraban
Anne Thomas Manes wrote:
> This is a job for WS-SecureConversation. I'm not aware of an
> implementation of WS-SecureConversation for Axis 1.x.
>
> Anne
>
> On 10/5/06, shrabank <sh...@tarangtech.com> wrote:
>> Hi,
>>
>> Can anybody say how can we handle session using soap headers in axis
>> 1.4? What necessary configuration is required to handle the session?
>> My requirement is like this once a person logins through a login
>> service a session has to be created and stored as session Id in the Soap
>> Headers and
>> necessary permissions and roles will be assigned to do access other
>> webservices.
>> It will be of great help if any body can send me the link or codes to
>> do the session maintenance using soap headers in axis 1.4.
>> Its very urgent as i don't have time to do any R and D.
>> I am using axis 1_4 and tomcat 5.5.
>>
>> Thanks in advance.
>>
>> Regards
>>
>>
>>
>>
>>
>> This e-mail and any files transmitted with it are for the sole use of
>> the intended recipient(s) and may contain confidential and privileged
>> information. If you are not the intended recipient or received it in
>> error, please contact the sender by reply e-mail and destroy all
>> copies of the original message. Please do not copy it for any purpose
>> or disclose its contents.
>>
>> Copyright Tarang Software Technologies Pvt. Ltd. 2004. All rights
>> Reserved
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient or received it in error, please contact the sender by reply e-mail and destroy all copies of the original message. Please do not copy it for any purpose or disclose its contents.
Copyright Tarang Software Technologies Pvt. Ltd. 2004. All rights Reserved
Re: Regarding Session Handling using Soap headers
Posted by robert lazarski <ro...@gmail.com>.
Not sure about the rampart. As for Axis2 examples, it's a user space
implementation detail. I do have an example, but its part of a
tutorial in portuguese:
http://www.braziloutsource.com/wss2.html
Search for 'Universally Unique Identifier' and there is a code example
on how to use ehcache with UUID's and how to validate it / time it
out.
HTH,
Robert
On 10/5/06, Wes Caldwell <we...@issinc.com> wrote:
> Any examples or links to how to implement something like this in Axis 2?
> Does rampart support the WS-SecureConversation spec?
>
> Thanks,
>
> Wes
>
>
> -----Original Message-----
> From: Anne Thomas Manes [mailto:atmanes@gmail.com]
> Sent: Thursday, October 05, 2006 5:32 AM
> To: axis-user@ws.apache.org
> Subject: Re: Regarding Session Handling using Soap headers
>
> This is a job for WS-SecureConversation. I'm not aware of an
> implementation of WS-SecureConversation for Axis 1.x.
>
> Anne
>
> On 10/5/06, shrabank <sh...@tarangtech.com> wrote:
> > Hi,
> >
> > Can anybody say how can we handle session using soap headers in axis
> > 1.4? What necessary configuration is required to handle the session?
> > My requirement is like this once a person logins through a login
> > service a session has to be created and stored as session Id in the Soap
> > Headers and
> > necessary permissions and roles will be assigned to do access other
> > webservices.
> > It will be of great help if any body can send me the link or codes to
> > do the session maintenance using soap headers in axis 1.4.
> > Its very urgent as i don't have time to do any R and D.
> > I am using axis 1_4 and tomcat 5.5.
> >
> > Thanks in advance.
> >
> > Regards
> >
> >
> >
> >
> >
> > This e-mail and any files transmitted with it are for the sole use of the
> intended recipient(s) and may contain confidential and privileged
> information. If you are not the intended recipient or received it in error,
> please contact the sender by reply e-mail and destroy all copies of the
> original message. Please do not copy it for any purpose or disclose its
> contents.
> >
> > Copyright Tarang Software Technologies Pvt. Ltd. 2004. All rights Reserved
>
> ---------------------------------------------------------------------
> 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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
RE: Regarding Session Handling using Soap headers
Posted by Wes Caldwell <we...@issinc.com>.
Any examples or links to how to implement something like this in Axis 2?
Does rampart support the WS-SecureConversation spec?
Thanks,
Wes
-----Original Message-----
From: Anne Thomas Manes [mailto:atmanes@gmail.com]
Sent: Thursday, October 05, 2006 5:32 AM
To: axis-user@ws.apache.org
Subject: Re: Regarding Session Handling using Soap headers
This is a job for WS-SecureConversation. I'm not aware of an
implementation of WS-SecureConversation for Axis 1.x.
Anne
On 10/5/06, shrabank <sh...@tarangtech.com> wrote:
> Hi,
>
> Can anybody say how can we handle session using soap headers in axis
> 1.4? What necessary configuration is required to handle the session?
> My requirement is like this once a person logins through a login
> service a session has to be created and stored as session Id in the Soap
> Headers and
> necessary permissions and roles will be assigned to do access other
> webservices.
> It will be of great help if any body can send me the link or codes to
> do the session maintenance using soap headers in axis 1.4.
> Its very urgent as i don't have time to do any R and D.
> I am using axis 1_4 and tomcat 5.5.
>
> Thanks in advance.
>
> Regards
>
>
>
>
>
> This e-mail and any files transmitted with it are for the sole use of the
intended recipient(s) and may contain confidential and privileged
information. If you are not the intended recipient or received it in error,
please contact the sender by reply e-mail and destroy all copies of the
original message. Please do not copy it for any purpose or disclose its
contents.
>
> Copyright Tarang Software Technologies Pvt. Ltd. 2004. All rights Reserved
---------------------------------------------------------------------
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
Re: Regarding Session Handling using Soap headers
Posted by Anne Thomas Manes <at...@gmail.com>.
This is a job for WS-SecureConversation. I'm not aware of an
implementation of WS-SecureConversation for Axis 1.x.
Anne
On 10/5/06, shrabank <sh...@tarangtech.com> wrote:
> Hi,
>
> Can anybody say how can we handle session using soap headers in axis
> 1.4? What necessary configuration is required to handle the session?
> My requirement is like this once a person logins through a login
> service a session has to be created and stored as session Id in the Soap
> Headers and
> necessary permissions and roles will be assigned to do access other
> webservices.
> It will be of great help if any body can send me the link or codes to
> do the session maintenance using soap headers in axis 1.4.
> Its very urgent as i don't have time to do any R and D.
> I am using axis 1_4 and tomcat 5.5.
>
> Thanks in advance.
>
> Regards
>
>
>
>
>
> This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient or received it in error, please contact the sender by reply e-mail and destroy all copies of the original message. Please do not copy it for any purpose or disclose its contents.
>
> Copyright Tarang Software Technologies Pvt. Ltd. 2004. All rights Reserved
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org