Hello,
I installed Tomcat 3.2.3 , Xerces 1.3.0 and Soap 2.2 on NT 4.0.
In "Tomcat.bat", I updated only Line 104 as follows:
set CP=C:\Programme\Xerces-1_3_0\Xerces.jar;%CLASSPATH%;%CP%
I set my environment variables as follows:
JAVA_HOME= C:\jdk1.3.1
CLASSPATH= D:\SOAP_Samp0\;
C:\Programme\Xerces-1_3_0\Xerces.jar;
C:\jdk1.3.1\lib\mail.jar;
C:\jdk1.3.1\lib\activation.jar;
C:\jdk1.3.1\lib\bsf.jar;
C:\jdk1.3.1\lib\js.jar;
C:\Programme\Soap-2_2\lib\soap.jar;
C:\Programme\Soap-2_2\;
.
TOMCAT_HOME=C:\Programme\jakarta-tomcat-3.2.3
My sample service "Catalog.class" is placed on "D:\SOAP_Samp0\"
When I deployed a simple example (via Apache Soap Admin),
I could find my service Cat001 (Catalog.class) through clicking on
List-link.
When I go to "http://localhost/soap/servlet/rpcrouter" via my browser, I
get:
SOAP RPC Router
Sorry, I don't speak via HTTP GET- ...
...
This means that the RPCRouter functions :)
When I try through ServiceManagerClient:
D:\SOAP_Samp0> java org.apache.soap.server.ServiceManagerClient
http://localhost/soap/servlet/rpcrouter list
Deployed Services:
Cat001
D:\SOAP_Samp0>
RESULT: :) Wonderful !
Now I can observe through TCPTunnelGUI that I get the following message,
when I call my service via a simple client "CatalogClient.class":
HTTP/1.0 500 Internal Server Error
Content-Type: text/xml; charset=utf-8
Content-Length: 493
Set-Cookie2: JSESSIONID=e78tdebdk1;Version=1;Discard;Path="/soap"
Set-Cookie: JSESSIONID=e78tdebdk1;Path=/soap
Servlet-Engine: Tomcat Web Server/3.2.3 (... etc.)
<?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.BadTargetObjectURI</faultcode>
<faultstring>Unable to resolve target object: Catalog</faultstring>
<faultactor>/soap/servlet/rpcrouter</faultactor>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
:(
But Catalog.class is in my ClassPath !
What should I do?
What could be wrong?
Thank you in advance.
Uemit Yaman
[EMAIL PROTECTED]