Please make sure all the required jars are in your path. E.g wss4j.jar, axis2-security.jar etc.
-----Original Message----- From: Christoph Raupach [mailto:[EMAIL PROTECTED] Sent: Friday, September 15, 2006 5:37 AM To: [email protected] Subject: Getting Rampart to work on client side Hello, Im trying to get Rampart to work in my Axis client, and I'm getting the following error, when running the client: INFO: Deploying module : addressing-1.0 Exception in thread "main" java.lang.NoSuchMethodError: org.apache.axis2.description.HandlerDescription.<init>(Ljavax/xml/namesp ace/QName;)V at org.apache.axis2.security.handler.WSDoAllHandler.<clinit>(WSDoAllHandler .java:38) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at org.apache.axis2.deployment.util.Utils.getHandlerClass(Utils.java:199) at org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:59) at org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngi ne.java:311) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.j ava:597) at org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.j ava:165) at org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener .java:53) at org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEn gine.java:100) at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration( FileSystemConfigurator.java:116) at org.apache.axis2.context.ConfigurationContextFactory.createConfiguration Context(ConfigurationContextFactory.java:61) at org.apache.axis2.context.ConfigurationContextFactory.createConfiguration ContextFromFileSystem(ConfigurationContextFactory.java:171) at test.Mainclient.main(Mainclient.java:12) Im using rampart-1.0.mar. The code used to create the Configuration Context looks like this: //prepare Configuration context for encryption ConfigurationContext ctx = ConfigurationContextFactory.createConfigurationContextFromFileSystem(rep o_path, axisXmlPath); regards Christoph Raupach --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
