Hello,
I will get the following exception if I try to run
following command line:
Classpath=.;D:\java\jaxp-1.1\xalan.jar;U:\download\sun\soap-bin-2.2\soap-2_2
\lib\soap.jar;U:\download\sun\javamail-1_2\javamail-1.2\mail.jar;U:\download
\sun\jaf
1_0_1\jaf-1.0.1\activation.jar
java org.apache.soap.server.ServiceManagerClient
http://localhost/soap/servlet/rpcrouter list
The output will be the following:
Ouch, the call failed:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
TcpTunnelGui shows the following output:
POST /soap/servlet/rpcrouter HTTP/1.0 Host: localhost Content-Type:
text/xml; charset=utf-8 Content-Length: 420 SOAPAction: "" <?xml
version='1.0' encoding='UTF-8'?> <SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"> <SOAP-ENV:Body> <ns1:list
xmlns:ns1="urn:xml-soap-service-management-service"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
</ns1:list> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
The Answer will be:
HTTP/1.0 500 Internal Server Error Content-Type: text/xml; charset=utf-8
Content-Length: 472 Set-Cookie2:
JSESSIONID=fk6pr2i4d1;Version=1;Discard;Path="/soap" Set-Cookie:
JSESSIONID=fk6pr2i4d1;Path=/soap Servlet-Engine: Tomcat Web Server/3.2.3
(JSP 1.1; Servlet 2.2; Java 1.3.0; Windows 2000 5.0 x86; java.vendor=Sun
Microsystems Inc.) <?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"> <SOAP-ENV:Body>
<SOAP-ENV:Fault> <faultcode>SOAP-ENV:Server.Exception:</faultcode>
<faultstring>java.lang.NoSuchMethodError</faultstring>
<faultactor>/soap/servlet/rpcrouter</faultactor> </SOAP-ENV:Fault>
</SOAP-ENV:Body> </SOAP-ENV:Envelope>
The versions are SOAP 2.2 bin and Tomcat 3.2.3
Can anybody help me?
Thanks,
Ralf