Hi Im new to webs ervices. I downloaded apache-ant-1.6.2-bin, axis-1_2RC2-bin, Glue-502, tomcat50-jwsdp but i cant find java2wsdl.class or wsdl2java.class on my system. Pls advise how to make stubs etc.
I only have these classes on the system. Are these the same as above files?
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