Why would this be necessary?  If the axis and xml jar files are in
WEB-INF-lib and %AXISCLASSPATH% and samples.userguide.example1.TestClient is
at WEB-INF/classes/samples/userguide/example1/TestClient.class, why would
changing the package namespace be needed?

Further, I got the Java runtime to invoke TestClient, but now it's
complaining of not being able to find an import:
org.apache.axis.client.Service when I

java samples.userguide.example1.TestClient

from /WEB-INF, and if I

java -cp %AXISCLASSPATH% samples.userguide.example1.TestClient

it complains of not being able to find TestClient.

This is really screwed up....

Mark

-----Original Message-----
From: mahen perera [mailto:[EMAIL PROTECTED]
Sent: Friday, January 23, 2004 1:16 AM
To: [EMAIL PROTECTED]
Subject: RE: Newbie: TestClient example does not work


check the package declaration of the Test Client class. If it is

package samples.userguide.example1

then u must add to the classpath variable "axis/1.1/"
or whatever the directory under which the samples directory is placed. Not 
the
samples\userguide\example1\TestClient path,
and then run using "java samples.userguide.example1.TestClient"


>From: "Galbreath, Mark A" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "Axis (E-mail)" <[EMAIL PROTECTED]>
>Subject: Newbie: TestClient example does not work
>Date: Thu, 22 Jan 2004 15:18:51 -0500
>
>Anybody know why I'm getting a ClassDefNotFound exception when I try to run
>the TestClient example under "Basics - Getting Started" at
>http://ws.apache.org/axis/java/user-guide.html?  I've even tried
>
>c:\[axis] java -cp %AXISCLASSPATH% samples\userguide\example1\TestClient
>
>and the JVM keeps whining about not being able to find the class.  Clue me?
>
>tia,
>Mark

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus

<<application/ms-tnef>>

Reply via email to