Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 204DF1744B for ; Wed, 18 Mar 2015 03:01:39 +0000 (UTC) Received: (qmail 39078 invoked by uid 500); 18 Mar 2015 03:01:38 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 38939 invoked by uid 500); 18 Mar 2015 03:01:38 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 38929 invoked by uid 99); 18 Mar 2015 03:01:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Mar 2015 03:01:38 +0000 Date: Wed, 18 Mar 2015 03:01:38 +0000 (UTC) From: "Jia Jun Jie (JIRA)" To: java-dev@axis.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (RAMPART-381) Rampart Sample 05 is not working MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/RAMPART-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14366548#comment-14366548 ] Jia Jun Jie commented on RAMPART-381: ------------------------------------- Hi Suresh, I am a new comer, I met the same problem, and I have downloaded the patch RAMPART-381.patch, but how to apply it on my env? thanks a lot ! > Rampart Sample 05 is not working > -------------------------------- > > Key: RAMPART-381 > URL: https://issues.apache.org/jira/browse/RAMPART-381 > Project: Rampart > Issue Type: Bug > Components: rampart-trust > Affects Versions: 1.6.2 > Reporter: Suresh Attanayake > Fix For: 1.6.3 > > Attachments: RAMPART-381.patch > > > Sample 05 client side throws the following exception, > [java] Exception in thread "main" org.apache.axis2.AxisFault: Error in retrieving token : > [java] at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:76) > [java] at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) > [java] at org.apache.axis2.engine.Phase.invoke(Phase.java:313) > [java] at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262) > [java] at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:427) > [java] at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406) > [java] at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) > [java] at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) > [java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:555) > [java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:531) > [java] at org.apache.rampart.samples.policy.sample05.Client.main(Unknown Source) > [java] Caused by: org.apache.rampart.RampartException: Error in retrieving token : > [java] at org.apache.rampart.builder.BindingBuilder.handleSupportingTokens(BindingBuilder.java:375) > [java] at org.apache.rampart.builder.SymmetricBindingBuilder.doSignBeforeEncrypt(SymmetricBindingBuilder.java:487) > [java] at org.apache.rampart.builder.SymmetricBindingBuilder.build(SymmetricBindingBuilder.java:82) > [java] at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:144) > [java] at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65) > [java] ... 10 more > [java] Java Result: 1 -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org