If that is the case then why do i get the NoclassDefFoundError
Im able to execute adminclient from the following steps but not wsdl2Java or JAVA2wsdl. After executing adminclient I can also see my service registered by clicking view on teh axis home page.
Im executing this from
Tomcat 5.0\webapps\axis\WEB-INF\classes which has Fibonacci.class, FibonacciImpl.class, deploy.wsdd. There is another directory C:\ToTest\Lib which has all the reqd jars stated as below.
set AXIS_HOME="C:\ToTest"
set AXIS_LIB=%AXIS_HOME%\lib
set AXISCLASSPATH="%AXIS_LIB%\axis.jar";"%AXIS_LIB%\commons-discovery.jar";"%AXIS_LIB%\commons-logging.jar";"%AXIS_LIB%\jaxrpc.jar";"%AXIS_LIB%\saaj.jar";"%AXIS_LIB%\log4j-1.2.8.jar";"%AXIS_LIB%\wsdl4j.jar";
java -cp %AXISCLASSPATH% org.apache.axis.client.Java2WSDL -o a.wsdl -l"http://localhost:8080/axis/services/fibonacci"
The error message is : Exception in
thread "main" java.lang.NoClassDefFoundError: org/apache/axis/clien
t/Java2WSDL
Pls help me out. Tx n regards JPraveen