Error deploying Web Service on Weblogic using Axis 2 and Rampart
posted 3 months ago
I have been trying to deploy a webservice with username and password authentication. I have used axis2 version 1.6.4 and Rampart version 1.6. I was successful in deploying the service on tomcat server using eclipse.
The issue occurs while deploying the war file on Weblogic server giving me weblogic.application.ModuleException: [HTTP:101216]Servlet: "AxisAdminServlet" failed to preload on startup in Web application: "WebServiceTrial". java.lang.IncompatibleClassChangeError: Implementing class
There are two jars: wsdl4j-1.6.2.jar and wsdl4j-1.6.16.jar
Both the jars have different class files in them and both are required. One jar is required for axis2 webservice and another one is required for engaging ws-security(Rampart module).
The service deployed on tomcat doesn't show any conflict between the jars.
Kindly suggest a way to resolve the issue and deploy the service on weblogic server