well, should be on another mailing-list this question.The axisclasspath already directs to the axis.jar and alle the other jars... so i dunno what u mean with the classpath...
However, trying to execute your class,there is some other classes that need to be found and loaded (as the Service class).
In your case, they are not found(NoClassDefFoundError)
To be found, they need to be referenced by the environnement variable CLASSPATH.
That's all
Be sure that your classpath contains . (for the current directory)
So it should give something like
set CLASSPATH=.;/path/to/whatever/jarfile/you/want;/other/jarfile
Xavier
--- Xavier Renard <[EMAIL PROTECTED]> wrote:
Mees wrote:
theI've set the environmental variables AXISCLASSPATH, AXIS_LIB and AXIS_HOME. I've runned the getQuote example it worked. It gave back 55.25
But now that I've moved on to the user guide, to
example with the TestClient.java.command
It says run with the following command:
java samples.userguide.example1.TestClient So I did from the dir C:\axis
I tried from other dir but it won't work I keep
getting this error, when i run the following
C:\axis\java samples.userguide.example1.TestClientsamples.userguide.example1.TestClient.main(TestClient.java:70)
---------------
Exception in thread "main"
java.lang.NoClassDefFoundError:
org/apache/axis/client/Service
at
--------------------------------
add it to your classpath maybe :-) set CLASSPATH=%CLASSPATH%;%AXIS_LIB%\axis.jar;
Xavier