Hello. If anybody has a minute, I did this successfully several months ago and i've been revisiting it and for some reason i can't get the client stub java files created from the wsdl. Here's what i have...
C:\MWS\My WebService.wsdl
C:\MWS\lib\...this folder contains all the axis and xerces jars...
From C:\MWS> command line...I type...
C:\MWS\>java -classpath lib\* org.apache.wsdl.WSDL2Java -o . -d Session -s -p MWS.ws MyWebService.wsdl
and I get...
NoClassDefFoundError: lib\axis-ant/jar
Like I said, all the jars are in the lib folder...I've been trying different combos for the classpath and i can't get it...most errors tell me it can't even find the utility itself from axis.jar. i compiled the files for a seperate project successfully but i just can't remember what i did for the classpath. Thank you very much for reading this.
[ March 12, 2007: Message edited by: Tom Griffith ]
C:\MWS\My WebService.wsdl
C:\MWS\lib\...this folder contains all the axis and xerces jars...
From C:\MWS> command line...I type...
C:\MWS\>java -classpath lib\* org.apache.wsdl.WSDL2Java -o . -d Session -s -p MWS.ws MyWebService.wsdl
and I get...
NoClassDefFoundError: lib\axis-ant/jar
Like I said, all the jars are in the lib folder...I've been trying different combos for the classpath and i can't get it...most errors tell me it can't even find the utility itself from axis.jar. i compiled the files for a seperate project successfully but i just can't remember what i did for the classpath. Thank you very much for reading this.
[ March 12, 2007: Message edited by: Tom Griffith ]