Uploaded image for project: 'Rampart'
  1. Rampart
  2. RAMPART-365

Error while running the rampart policy sample 05 : Error in retrieving token

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.7.0
    • 1.6.4, 1.7.0
    • None
    • None
    • axis2-1.7.0-SNAPSHOT, Linux, JDK 1.6

    Description

      Following is the log :

      Exception in thread "main" org.apache.axis2.AxisFault: Error in retrieving token :
      at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:76)
      at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:335)
      at org.apache.axis2.engine.Phase.invoke(Phase.java:308)
      at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
      at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:427)
      at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
      at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
      at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
      at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:555)
      at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:531)
      at org.apache.rampart.samples.policy.sample05.Client.main(Client.java:93)
      Caused by: org.apache.rampart.RampartException: Error in retrieving token :
      at org.apache.rampart.builder.BindingBuilder.handleSupportingTokens(BindingBuilder.java:379)
      at org.apache.rampart.builder.SymmetricBindingBuilder.doSignBeforeEncrypt(SymmetricBindingBuilder.java:487)
      at org.apache.rampart.builder.SymmetricBindingBuilder.build(SymmetricBindingBuilder.java:82)
      at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:144)
      at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65)
      ... 10 more

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sureshatt Suresh Attanayake
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: