I am trying to deploy my first web service using
tomcat 5.x and Axis. In this regard, when i am trying to deploy my wsdd file, I facing the following issues:
I had given the following on command prompt:
java org.apache.axis.client.AdminClient server-config.wsdd
but i got the following error:
Exception in
thread "main" java.lang.NoClassDefFoundError: javax/xml/soap/SOAPEx
ception
at org.apache.axis.configuration.FileProvider.configureEngine(FileProvid
er.java:179)
at org.apache.axis.AxisEngine.init(AxisEngine.java:172)
at org.apache.axis.AxisEngine.<init>(AxisEngine.java:156)
at org.apache.axis.client.AxisClient.<init>(AxisClient.java:52)
at org.apache.axis.client.Service.getAxisClient(Service.java:104)
at org.apache.axis.client.Service.<init>(Service.java:113)
at org.apache.axis.client.AdminClient.initAdminClient(AdminClient.java:1
48)
at org.apache.axis.client.AdminClient.<init>(AdminClient.java:116)
at org.apache.axis.client.AdminClient.main(AdminClient.java:461)
When i got this error, I thought i could be because of the classpath, but my classpath seems to be right:
CLASSPATH=.;D:\j2sdk1.4.2_04\lib;D:\Program Files\Apache Software Foundation\Tom
cat 5.0\webapps\axis\WEB-INF\lib\axis.jar;D:\Program Files\Apache Software Found
ation\Tomcat 5.0\webapps\axis\WEB-INF\lib\axis-ant.jar;D:\Program Files\Apache S
oftware Foundation\Tomcat 5.0\webapps\axis\WEB-INF\lib\commons-discovery-0.2.jar
;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis\WEB-INF\lib
\commons-logging-1.0.4.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.
0\webapps\axis\WEB-INF\lib\j2ee.jar;D:\Program Files\Apache Software Foundation\
Tomcat 5.0\webapps\axis\WEB-INF\lib\log4j-1.2.8.jar;D:\Program Files\Apache Soft
ware Foundation\Tomcat 5.0\webapps\axis\WEB-INF\lib\wsdl4j-1.5.1.jar;D:\Program
Files\Apache Software Foundation\Tomcat 5.0\webapps\axis\WEB-INF\lib\xerces.jar;
D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis\WEB-INF\lib\
xmlsec.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\act
ivation.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\so
ap.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\jaxrpc.
jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis\WEB-INF\
lib\xercesImpl.jar;
I am very curiously awaiting a reciprocation!
Thanks in advance for your help!
Srini