I have set up Apache Tomcat to implement soap services and I put all the
appropriate jars (soap.jar, activation.jar, mail.jar and xerces.jar) in the
lib directory of Tomcat.  I added them to my classpath as well and I am
issueing the following command, from a command line, to test the service.
"java org.apache.soap.server.ServiceManagerClient
http://localhost:8080/soap/servlet/rpcrouter list"

I can go to the url http://localhost:8080/soap/servlet/rpcrouter and I get
back a response, but when I try from the command line I get the following
Exception.  Does anyone know what could be causing this.


Exception in thread "main" java.lang.NoSuchMethodError
        at org.apache.soap.util.xml.QName.<init>(QName.java:80)
        at org.apache.soap.util.xml.QName.matches(QName.java:146)
        at org.apache.soap.Envelope.unmarshall(Envelope.java:237)
        at org.apache.soap.rpc.Call.invoke(Call.java:230)
        at
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManag
erClient.java:129)
        at
org.apache.soap.server.ServiceManagerClient.list(ServiceManagerClient
.java:151)
        at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
.java:237)


Thanks in advance,

Bryan Field
Senior Consultant
T4CG
(703) 729-4990 ext. 228 (main)
(703) 862-5849 (cell)
(703) 832-0364 (fax)
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.303 / Virus Database: 164 - Release Date: 11/24/2001
BEGIN:VCARD
VERSION:2.1
N:Field;Bryan
FN:Bryan Field
ORG:T4CG;Software Engineering
TITLE:Senior Consultant
TEL;WORK;VOICE:(703) 729-4990
TEL;HOME;VOICE:(703) 266-5726
TEL;CELL;VOICE:(571) 436-2769
TEL;WORK;FAX:(703) 832-0364
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;44084 Riverside pkwy=0D=0Asuite 320;Leesburg;VA;20176;United States of Ame=
rica
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:44084 Riverside pkwy=0D=0Asuite 320=0D=0ALeesburg, VA 20176=0D=0AUnited Stat=
es of America
URL:
URL:http://www.t4cg.com
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20010627T213012Z
END:VCARD

Reply via email to