[ http://issues.apache.org/jira/browse/WSS-42?page=comments#action_12374796 ]
Ruchith Udayanga Fernando commented on WSS-42: ---------------------------------------------- Seems like you are missing the xmlsec.jar [1] ... Please make sure you have it in your classpath. Thanks, Ruchith [1] http://svn.apache.org/repos/asf/webservices/wss4j/trunk/lib/xmlsec-1.3.0.jar > java.lang.NoClassDefFoundError: > org/apache/xml/security/encryption/XMLEncryptionException > ----------------------------------------------------------------------------------------- > > Key: WSS-42 > URL: http://issues.apache.org/jira/browse/WSS-42 > Project: WSS4J > Type: Bug > Environment: linux, j2sdk1.4.2_06,axis1.2 > Reporter: Rajashekar kurelli > Assignee: Davanum Srinivas > > I have developed a web service using axis.. and wanted to add wss4j to the > web service.. followed the steps as mentioned in the tutorial.. > after completing all the steps as mentioned.. when i try to run the client > the following exception is thrown.. Please guide me on this.. > Thanks & appreciate your reply. > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/xml/security/encryption/XMLEncryptionException > at > org.apache.ws.security.handler.WSHandler.<clinit>(WSHandler.java:59) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:219) > at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:176) > at java.security.AccessController.doPrivileged(Native Method) > at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160) > at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100) > at > org.apache.axis.deployment.wsdd.WSDDDeployableItem.getJavaClass(WSDDDeployableItem.java:353) > at > org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:295) > at > org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) > at > org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) > at > org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125) > at > org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) > at > org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) > at > org.apache.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:473) > at > org.apache.axis.configuration.FileProvider.getGlobalRequest(FileProvider.java:269) > at org.apache.axis.AxisEngine.getGlobalRequest(AxisEngine.java:365) > at org.apache.axis.client.AxisClient.invoke(AxisClient.java:126) > at org.apache.axis.client.Call.invokeEngine(Call.java:2765) > at org.apache.axis.client.Call.invoke(Call.java:2748) > at org.apache.axis.client.Call.invoke(Call.java:2424) > at org.apache.axis.client.Call.invoke(Call.java:2347) > at org.apache.axis.client.Call.invoke(Call.java:1804) > at dhs.ws.cdbview.HRISSOAPStub.getEmployee(Unknown Source) > at HRISTester.main(HRISTester.java:33) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
