----- Original Message -----
Sent: Thursday, August 28, 2003 8:45
PM
Subject: Packages not found !
Hi
all,
I try to write a
simple client like the client provide with example1, but it doesn't
compile.
The errors are
:
refoforxml/refows/ClientSoap.java:1: package
org.apache.axis.client does not exist
import
org.apache.axis.client.Call;
^
refoforxml/refows/ClientSoap.java:2: package org.apache.axis.client does
not exist
import
org.apache.axis.client.Service;
^
refoforxml/refows/ClientSoap.java:3: package javax.xml.namespace does not
exist
import
javax.xml.namespace.QName;
^
refoforxml/refows/ClientSoap.java:5: package javax.xml.rpc does not
exist
import
javax.xml.rpc.ParameterMode;
^
refoforxml/refows/ClientSoap.java:12: cannot resolve
symbol
symbol : class Service
location: class
ClientSoap
Service service = new
Service();
^
refoforxml/refows/ClientSoap.java:12: cannot resolve
symbol
symbol : class Service
location: class
ClientSoap
Service service = new
Service();
^
refoforxml/refows/ClientSoap.java:13: cannot resolve
symbol
symbol : class Call
location: class
ClientSoap
Call call = (Call)
service.createCall();
^
refoforxml/refows/ClientSoap.java:13: cannot resolve
symbol
symbol : class Call
location: class
ClientSoap
Call call = (Call)
service.createCall();
^
refoforxml/refows/ClientSoap.java:18: cannot resolve
symbol
...
My classpath
points on all .jar file in $TOMCAT_HOME/webapps/axis/WEB-INF/lib/
!
Here is it
:
/opt/tomcat4.1/webapps/axis/WEB-INF/lib/axis.jar:/opt/tomcat4.1/webapps/axis/WEB-INF/lib/jaxrpc.jar:/opt/tomcat4.1/webapps/axis/WEB-INF/lib/saaj.jar:/opt/tomcat4.1/webapps/axis/WEB-INF/lib/commons-logging.jar:/opt/tomcat4.1/webapps/axis/WEB-INF/lib/commons-discovery.jar:/opt/tomcat4.1/webapps/axis/WEB-INF/lib/wsdl4j.jar:/opt/tomcat4.1/webapps/axis/WEB-INF:/opt/tomcat4.1/webapps/axis/WEB-INF/lib/xml-apis.jar:/opt/tomcat4.1/webapps/axis/WEB-INF/lib/log4j-1.2.8.jar:/opt/tomcat4.1/webapps/axis/WEB-INF/lib/axis-ant.jar:/opt/tomcat4.1/webapps/axis/WEB-INF/lib/xmlParserAPIs.jar:/opt/tomcat4.1/webapps/axis/WEB-INF/lib/xercesImpl.jar:/opt/oracle/app/oracle/product/8.1.7/jdbc/lib/classes12.zip:.:/opt/tomcat4.1/webapps/axis/WEB-INF/classes:
PS : I use Axis
1.1 on Tomcat 4.1.10
Thank you for your
help,
Thierry