Hello, I'm using: The latest Axis2 Nightly build wss4j-1.5.0.jar xmlsec-1.4.Beta1.jar rampart-1.0 addressing-1.0
I'm also using an probably old axis-security-SNAPSHOT.jar but removing or adding it to the classpath has no effect on the error message. Also I can't find an current axis-security.jar (didn't find it on axis2 website and didn't find it by google) and rampart doesn't list it in its dependencies (only xmlsec and wssj4j). Are you sure that axis-security.jar is needed ? If I'm switching to Axis2 1.0 I can't compile since my auto-generated client apparently needs things which came later than 1.0 regards Christoph Raupach On 9/15/06, Charak, Vikas <[EMAIL PROTECTED]> wrote:
I think there could be a mismatch of downloaded libraries. Which version of Axis2 you are using and how about jars like axis2-security, addressing.mar ,rampart.mar. -----Original Message----- From: Christoph Raupach [mailto:[EMAIL PROTECTED] Sent: Friday, September 15, 2006 9:28 AM To: [email protected] Subject: Re: Getting Rampart to work on client side Hello, I've got wss4j-1.5.0.jar and axis2-security-1.0.jar on my classpath along with all liberaries provided by axis2. I do not know what I might be missing. regards Christoph Raupach On 9/15/06, Charak, Vikas <[EMAIL PROTECTED]> wrote: > 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] > > --------------------------------------------------------------------- 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
