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/01 14:17:56 UTC

Re: Can single web service be deployed onto multiple end points?

Thanks Amila,
 
Do you have a code snippet that you can share with me. That would be really helpful to me to understand how to do it. An example would be really great.
 
Awaiting your reply.
 
Thanks so much.

--- On Sat, 5/29/10, Amila Suriarachchi <am...@gmail.com> wrote:


From: Amila Suriarachchi <am...@gmail.com>
Subject: Re: Can single web service be deployed onto multiple end points?
To: java-dev@axis.apache.org
Date: Saturday, May 29, 2010, 7:29 AM



You can do this by adding you own Axis2 hander to dispatch these messages to the service. 

thanks,
Amila.



On Fri, May 28, 2010 at 10:15 PM, sarvani kare <mi...@yahoo.com> wrote:






 





Hi all, 
  
Can we deploy a single web service onto multiple end points? 
  
Example: 
  
If the web service name is echo, 
  
Can we deploy it to two different endpoints A and B? 
  
Like, 
http://localhost:9080/axis2/services/A/echo and http://localhost:9080/axis2/services/B/echo 
  
Can you point me to any website as how to configure this if it is achievable? 
  
Thanks a lot for your time. 
M




-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/



      

Re: Can single web service be deployed onto multiple end points?

Posted by sarvani kare <mi...@yahoo.com>.
F.Y.I
 
I figured out a way to do this using ServiceGroup.
 
Thanks.

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


From: sarvani kare <mi...@yahoo.com>
Subject: Re: Can single web service be deployed onto multiple end points?
To: java-dev@axis.apache.org
Date: Tuesday, June 1, 2010, 7:17 AM







Thanks Amila,
 
Do you have a code snippet that you can share with me. That would be really helpful to me to understand how to do it. An example would be really great.
 
Awaiting your reply.
 
Thanks so much.

--- On Sat, 5/29/10, Amila Suriarachchi <am...@gmail.com> wrote:


From: Amila Suriarachchi <am...@gmail.com>
Subject: Re: Can single web service be deployed onto multiple end points?
To: java-dev@axis.apache.org
Date: Saturday, May 29, 2010, 7:29 AM



You can do this by adding you own Axis2 hander to dispatch these messages to the service. 

thanks,
Amila.



On Fri, May 28, 2010 at 10:15 PM, sarvani kare <mi...@yahoo.com> wrote:






 





Hi all, 

  

Can we deploy a single web service onto multiple end points? 

  
Example: 
  
If the web service name is echo, 
  
Can we deploy it to two different endpoints A and B? 
  
Like, 
http://localhost:9080/axis2/services/A/echo and http://localhost:9080/axis2/services/B/echo 
  
Can you point me to any website as how to configure this if it is achievable? 
  
Thanks a lot for your time. 
M




-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/




      

Re: Can single web service be deployed onto multiple end points?

Posted by sarvani kare <mi...@yahoo.com>.
F.Y.I
 
I figured out a way to do this using ServiceGroup.
 
Thanks.

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


From: sarvani kare <mi...@yahoo.com>
Subject: Re: Can single web service be deployed onto multiple end points?
To: java-dev@axis.apache.org
Date: Tuesday, June 1, 2010, 7:17 AM







Thanks Amila,
 
Do you have a code snippet that you can share with me. That would be really helpful to me to understand how to do it. An example would be really great.
 
Awaiting your reply.
 
Thanks so much.

--- On Sat, 5/29/10, Amila Suriarachchi <am...@gmail.com> wrote:


From: Amila Suriarachchi <am...@gmail.com>
Subject: Re: Can single web service be deployed onto multiple end points?
To: java-dev@axis.apache.org
Date: Saturday, May 29, 2010, 7:29 AM



You can do this by adding you own Axis2 hander to dispatch these messages to the service. 

thanks,
Amila.



On Fri, May 28, 2010 at 10:15 PM, sarvani kare <mi...@yahoo.com> wrote:






 





Hi all, 

  

Can we deploy a single web service onto multiple end points? 

  
Example: 
  
If the web service name is echo, 
  
Can we deploy it to two different endpoints A and B? 
  
Like, 
http://localhost:9080/axis2/services/A/echo and http://localhost:9080/axis2/services/B/echo 
  
Can you point me to any website as how to configure this if it is achievable? 
  
Thanks a lot for your time. 
M




-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/




      

Re: Can single web service be deployed onto multiple end points?

Posted by sarvani kare <mi...@yahoo.com>.
F.Y.I
 
I figured out a way to do this using ServiceGroup.
 
Thanks.

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


From: sarvani kare <mi...@yahoo.com>
Subject: Re: Can single web service be deployed onto multiple end points?
To: java-dev@axis.apache.org
Date: Tuesday, June 1, 2010, 7:17 AM







Thanks Amila,
 
Do you have a code snippet that you can share with me. That would be really helpful to me to understand how to do it. An example would be really great.
 
Awaiting your reply.
 
Thanks so much.

--- On Sat, 5/29/10, Amila Suriarachchi <am...@gmail.com> wrote:


From: Amila Suriarachchi <am...@gmail.com>
Subject: Re: Can single web service be deployed onto multiple end points?
To: java-dev@axis.apache.org
Date: Saturday, May 29, 2010, 7:29 AM



You can do this by adding you own Axis2 hander to dispatch these messages to the service. 

thanks,
Amila.



On Fri, May 28, 2010 at 10:15 PM, sarvani kare <mi...@yahoo.com> wrote:






 





Hi all, 

  

Can we deploy a single web service onto multiple end points? 

  
Example: 
  
If the web service name is echo, 
  
Can we deploy it to two different endpoints A and B? 
  
Like, 
http://localhost:9080/axis2/services/A/echo and http://localhost:9080/axis2/services/B/echo 
  
Can you point me to any website as how to configure this if it is achievable? 
  
Thanks a lot for your time. 
M




-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/




      

Re: Can single web service be deployed onto multiple end points?

Posted by sarvani kare <mi...@yahoo.com>.
F.Y.I
 
I figured out a way to do this using ServiceGroup.
 
Thanks.

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


From: sarvani kare <mi...@yahoo.com>
Subject: Re: Can single web service be deployed onto multiple end points?
To: java-dev@axis.apache.org
Date: Tuesday, June 1, 2010, 7:17 AM







Thanks Amila,
 
Do you have a code snippet that you can share with me. That would be really helpful to me to understand how to do it. An example would be really great.
 
Awaiting your reply.
 
Thanks so much.

--- On Sat, 5/29/10, Amila Suriarachchi <am...@gmail.com> wrote:


From: Amila Suriarachchi <am...@gmail.com>
Subject: Re: Can single web service be deployed onto multiple end points?
To: java-dev@axis.apache.org
Date: Saturday, May 29, 2010, 7:29 AM



You can do this by adding you own Axis2 hander to dispatch these messages to the service. 

thanks,
Amila.



On Fri, May 28, 2010 at 10:15 PM, sarvani kare <mi...@yahoo.com> wrote:






 





Hi all, 

  

Can we deploy a single web service onto multiple end points? 

  
Example: 
  
If the web service name is echo, 
  
Can we deploy it to two different endpoints A and B? 
  
Like, 
http://localhost:9080/axis2/services/A/echo and http://localhost:9080/axis2/services/B/echo 
  
Can you point me to any website as how to configure this if it is achievable? 
  
Thanks a lot for your time. 
M




-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/




      

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

Posted by sarvani kare <mi...@yahoo.com>.
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)
 
 
 



      

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

Posted by sarvani kare <mi...@yahoo.com>.
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)
 
 
 



      

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

Posted by sarvani kare <mi...@yahoo.com>.
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)
 
 
 



      

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

Posted by sarvani kare <mi...@yahoo.com>.
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)
 
 
 



      

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

Posted by sarvani kare <mi...@yahoo.com>.
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)
 
 
 



      

Executing Rampart Policy Sample 08

Posted by sarvani kare <mi...@yahoo.com>.
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)
 
 
 


      

Re: Can single web service be deployed onto multiple end points?

Posted by sarvani kare <mi...@yahoo.com>.
F.Y.I
 
I figured out a way to do this using ServiceGroup.
 
Thanks.

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


From: sarvani kare <mi...@yahoo.com>
Subject: Re: Can single web service be deployed onto multiple end points?
To: java-dev@axis.apache.org
Date: Tuesday, June 1, 2010, 7:17 AM







Thanks Amila,
 
Do you have a code snippet that you can share with me. That would be really helpful to me to understand how to do it. An example would be really great.
 
Awaiting your reply.
 
Thanks so much.

--- On Sat, 5/29/10, Amila Suriarachchi <am...@gmail.com> wrote:


From: Amila Suriarachchi <am...@gmail.com>
Subject: Re: Can single web service be deployed onto multiple end points?
To: java-dev@axis.apache.org
Date: Saturday, May 29, 2010, 7:29 AM



You can do this by adding you own Axis2 hander to dispatch these messages to the service. 

thanks,
Amila.



On Fri, May 28, 2010 at 10:15 PM, sarvani kare <mi...@yahoo.com> wrote:






 





Hi all, 

  

Can we deploy a single web service onto multiple end points? 

  
Example: 
  
If the web service name is echo, 
  
Can we deploy it to two different endpoints A and B? 
  
Like, 
http://localhost:9080/axis2/services/A/echo and http://localhost:9080/axis2/services/B/echo 
  
Can you point me to any website as how to configure this if it is achievable? 
  
Thanks a lot for your time. 
M




-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/




      

Executing Rampart Policy Sample 08

Posted by sarvani kare <mi...@yahoo.com>.
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)
 
 
 


      

Executing Rampart Policy Sample 08

Posted by sarvani kare <mi...@yahoo.com>.
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)
 
 
 


      

Executing Rampart Policy Sample 08

Posted by sarvani kare <mi...@yahoo.com>.
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)
 
 
 


      

Executing Rampart Policy Sample 08

Posted by sarvani kare <mi...@yahoo.com>.
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)