You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by sarvani kare <mi...@yahoo.com> on 2010/06/14 20:22:14 UTC

Executing Rampart Policy Sample 08 - help needed generating SAML 2.0 assertions/tokens

Hi all, 
 
If anyone in the group executed Policy sample 08 that came with Rampart 1.5.1 samples, to generate SAML 2.0 assertions please help me. 
 
I have a deadline and i am still trying to resolve the below issue. Your help is greatly appreciated. 
 
Thanks.

--- On Tue, 6/8/10, sarvani kare <mi...@yahoo.com> wrote:


From: sarvani kare <mi...@yahoo.com>
Subject: Executing Rampart Policy Sample 08
To: java-dev@axis.apache.org
Date: Tuesday, June 8, 2010, 2:32 PM







Hi all,
 
I successfully executed Rampart Policy Sample 05 for SAML1.0 assertions. 
 
I am now trying to run Rampart Policy Sample 08 for SAML 2.0 assertions. I am using RAD 7.5 IDE and WAS 6.1 
I am succes in getting the SAML assestion from the STS token. Using this assertion, the request is being sent to the echo Service. But I am not getting the response back from the echo Service. 
 
Please let me know if you need any more information from me. 
Your help is greatly appreciated. Thanks in advance.
Sarvani
 
Following is the exception :
 
E org.apache.axis2.engine.AxisEngine receive SAML Token missing in request 
org.apache.axis2.AxisFault: SAML Token missing in request 
at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:166) 
at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99) 
at org.apache.axis2.engine.Phase.invoke(Phase.java:318) 
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:251) 
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:160) 
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:167) 
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:142) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) 
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1145) 
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:592) 
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:489) 
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3453) 
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267) 
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:815) 
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466) 
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:119) 
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458) 
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387) 
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102) 
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) 
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) 
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) 
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) 
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196) 
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751) 
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881) 
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)