You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Harshad Nanal <ha...@mahindrabt.com> on 2001/04/25 12:50:24 UTC

Re: SOAP 2.1 not working on Tomcat but works on Weblogic]

Hi All 
I am using soap2.0/tomcat3.2.1/xerces1.2.3 now. Things are a bit better

I have put xerces.jar in front of the classpath(JAVA_CLASSPATH variable
in startweblogic.cmd)

I am able to run soap admin tool in the "browser". Deploy a service
there
and access it through a java client. 

But when i try to deploy from command prompt i get the error. Here is
the output of dos box


D:\soap-2_0\samples\addressbook>echo %classpath%
D:\classpath\xerces.jar;d:\classpath\xerces.jar;d:\soap-2_0;d:\soap-2_0\lib\soap
.jar;d:\classpath\activation.jar;d:\classpath\mail.jar;c:\jdk1.3\lib\tools.jar;d
:\demo1;;.

D:\soap-2_0\samples\addressbook>java
org.apache.soap.server.ServiceManagerClient
 http://localhost:8080/soap/servlet/rpcrouter deploy dd.xml
Exception in thread "main" java.lang.NoSuchMethodError
        at
org.apache.soap.server.DeploymentDescriptor.fromXML(DeploymentDescrip
tor.java:282)
        at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
.java:188)

D:\soap-2_0\samples\addressbook>java
org.apache.soap.server.ServiceManagerClient
 http://localhost:8080/soap/servlet/rpcrouter list
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:210)
        at org.apache.soap.rpc.Call.invoke(Call.java:172)
        at
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManag
erClient.java:110)
        at
org.apache.soap.server.ServiceManagerClient.list(ServiceManagerClient
.java:132)
        at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
.java:195)


I look forward to you help to get it working. 
All those who have succeeded in doing this please guide. 

Harshad