function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
JassaJassa 

WSDL2Java

guys guys guys

I have been struggling hard to set the class path in Windows 2000 for the WSDL2Java thing. Finally i tried running a .bat file with the following command in it

"java -classpath C:\Axis\axis-1_1\webapps\axis\WEB-INF\libaxis.jar;C\Axis\axis-1_1\webapps\axis\WEB-INF\libaxis-ant.jar;C:\Axis\axis-1_1\webapps\ax
is\WEB-INF\libcommons-discovery.jar;C:\Axis\axis-1_1\webapps\axis\WEB-INF\libcom
mons-logging.jar;C:\Axis\axis-1_1\webapps\axis\WEB-INF\libjaxrpc.jar;C:\Axis\axi
s-1_1\webapps\axis\WEB-INF\liblog4j-1.2.4.jar;C:\Axis\axis-1_1\webapps\axis\WEB-
INF\libsaaj.jar;C:\Axis\axis-1_1\webapps\axis\WEB-INF\libwsdl4j.jar org.apache.a
xis.wsdl.WSDL2Java -v -a -T 1.2  enterprise.wsdl"

but am getting the error like :

 Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/wsdl/WSDL2Java

can anyone please help me out with this.

please please please

 

thanks:d

cmarkiewiczcmarkiewicz
hello. which one of the jars listed in your classpath contains org/apache/axis/wsdl/WSDL2Java?
chris
SuperfellSuperfell
it looks like your classpath is wrong, i suspect that ...\libaxis.jar should be ...\lib\axis.jar etc. Unless you've renamed all your jars to start with lib.
JassaJassa

I have checked/corrected the same but id still giving the same problem...

JassaJassa
its in axis.jar