That depends... Did you invoke it like this java
samples.userguide.example1.TestClient ? Because the CLASSPATH is
alright.

On 10/18/06, Noé Amorim <[EMAIL PROTECTED]> wrote:
hi.
i have installed everything according with the installation guide, the
validation http://localhost:8080/axis/happyaxis.jsp went
ok.
i have started the the Soap Monitor and was able to retrieve the " 55.25"
from the GetQuote example in the installation guide.

But now i was trying to compile a simple example like the example1 from the
samples, i get a bunch of errors like:

TestClient.java:17: package org.apache.axis.client does not exist
import org.apache.axis.client.Call;

TestClient.java:30: cannot find symbol
symbol  : class Call
location: class TestClient
Call     call    = (Call) service.createCall ();

When trying to run from the samples/userguide dir the example1, i get this:
Exception in thread "main" java.lang.NoClassDefFoundError:
samples/userguide/example1/TestClient


here is my classpath settings:

JAVA_HOME=C:\Java\jdk1.5.0_09
CLASSPATH=.;%JAVA_HOME%;%AXIS_LIB%
AXIS_HOME=c:\axis
AXIS_LIB=%AXIS_HOME%\lib
AXISCLASSPATH=%AXIS_LIB%\axis.jar;%AXIS_LIB%\axis-ant.jar;%AXIS_LIB%\commons-discovery-0.2.jar
;%AXIS_LIB%\commons-logging-1.0.4.jar;%AXIS_LIB%\jaxrpc.jar;%AXIS_LIB%\log4j-1.2.8.jar;%AXIS_LIB%\saaj.jar;%AXIS_LIB%\wsdl4j-1.5.1.jar;%AXIS_LIB%\xml-apis.jar;%AXIS_LIB%\xercesImpl.jar;%AXIS_LIB%\activation.jar

what could i be doing wrong?
plz advice.
thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to