You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-user@ws.apache.org by ZHAO Qi <zh...@gmail.com> on 2006/07/06 11:49:14 UTC

session management in MUSE

Hello,

I am using Axis APIs to add authentication function and maintain sessions
based on http cookie.
        MessageContext mc = MessageContext.getCurrentContext();
        Session session = mc.getSession();
        mc.setMaintainSession(true);

Then I modify server-config.wsdd and my client side wsdd file to user
SimpleSessionHandler in request flow and response flow.
As I send a soap request, there is a fault "This endpoint requires
WS-Addressing headers". What kind of info should I add in the soap request
header??
Thank you in advance.

Re: session management in MUSE

Posted by Daniel Jemiolo <da...@us.ibm.com>.
Hi,

What does your client code look like? Are you trying to add the 
WS-Addressing headers and it's failing, or simply not adding the headers? 
If it's the latter, the headers it's refering to are those that define the 
resource resolution headers defined by WS-Addressing - the address and 
properties that allow WSRF to distinguish one resource instance from the 
next despite the fact that they all exist at the same URL. Are you 
familiar with the WS-A spec/implied resource pattern?

Dan



"ZHAO Qi" <zh...@gmail.com> wrote on 07/06/2006 05:49:14 AM:

> Hello,
> 
> I am using Axis APIs to add authentication function and maintain 
sessions
> based on http cookie.
>         MessageContext mc = MessageContext.getCurrentContext();
>         Session session = mc.getSession();
>         mc.setMaintainSession(true);
> 
> Then I modify server-config.wsdd and my client side wsdd file to user
> SimpleSessionHandler in request flow and response flow.
> As I send a soap request, there is a fault "This endpoint requires
> WS-Addressing headers". What kind of info should I add in the soap 
request
> header??
> Thank you in advance.


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