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

Rampart basic sample.08 not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.6.2
    • 1.6.3, 1.7.0
    • distribution
    • Ubuntu, Linux

    Description

      Set Axis2 home and try to run sample.08.
      Start service - > ant sample.08

      Start client - > ant client.08

      You will see following exception,

      [java] [INFO] Deploying module: rampart-1.6.2 - file:/home/amila/development/apache/axis2/java/rampart/branches/https-branches/1_6/modules/distribution/target/rampart-1.6.3-SNAPSHOT/samples/basic/build/client_repositories/sample08/modules/rampart-1.6.2.mar
      [java] Exception in thread "main" org.apache.axis2.AxisFault: Unknown action defined: NoSerialization
      [java] at org.apache.rampart.handler.WSDoAllSender.processMessage(WSDoAllSender.java:75)
      [java] at org.apache.rampart.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:72)
      [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.sample08.Client.main(Unknown Source)
      [java] Caused by: org.apache.ws.security.WSSecurityException: Unknown action defined: NoSerialization
      [java] at org.apache.ws.security.util.WSSecurityUtil.decodeAction(WSSecurityUtil.java:910)
      [java] at org.apache.rampart.handler.WSDoAllSender.processBasic(WSDoAllSender.java:155)
      [java] at org.apache.rampart.handler.WSDoAllSender.processMessage(WSDoAllSender.java:72)
      [java] ... 11 more
      [java] Java Result: 1

      Attachments

        Activity

          People

            amilaj Amila Jayasekara
            amilaj Amila Jayasekara
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: