This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
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...
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 ]
The classpath switch doesn't work like that. Each jar file needs to be listed explicitly, like "-classpath lib\axis.jar;lib\foobar.jar;lib\saaj.jar;..."
Hi Ulf. Yeah, since axis has so many supporting jars, I set the axis classpath in AUTOEXEC.BAT. I know this is way off topic now but while it's out there, isn't the * a wildcard character for -classpath? I know i read it at sun somewhere.
Originally posted by Tom Griffith: isn't the * a wildcard character for -classpath? I know i read it at sun somewhere.
I believe it is for Java 6, but I haven't used the feature myself.
Tom Griffith
Ranch Hand
Joined: Aug 06, 2004
Posts: 256
posted
0
Yeah, thanks Paul. On second throught, I think thats where I saw it...
FOr the past hour it's telling me the switches ("unrecognized option: -o", etc) are not recognized and it cannot create the Java Virtual Machine. What could that mean? I'm running java 5 and the classpath is set...otherwise, it wouldn't recognize java and -cp...what gives with this? I've looked around and it seems the solutions to this are upgrading the jvm...but i'm running 5...and this ran successfully a couple of months ago. Ah. Thank you again for reading this everybody. [ March 12, 2007: Message edited by: Tom Griffith ]
Tom Griffith
Ranch Hand
Joined: Aug 06, 2004
Posts: 256
posted
0
Eh, with all the compiling, tinkering, and messing with the autoexec.bat i just rebooted again, compiled and ran some softball programs and it seemed to clear the problem. Welp, it's going ok now. Thank you again everybody. [ March 12, 2007: Message edited by: Tom Griffith ]