Hi Adrian,

Here is a little more help.

This is what I added in my Tomcat.bat file (behind the "set CLASSPATH=%CP%"
statement) :

echo.
echo Using CLASSPATH: %CP%
echo.
set CLASSPATH=%CP%

set CLASSPATH=C:\Xerces_1.4.0\xerces.jar;%CLASSPATH%
set CLASSPATH=C:\Soap_2.2\lib\soap.jar;%CLASSPATH%
set CLASSPATH=C:\JavaMail_1.1.3\mail.jar;%CLASSPATH%
set CLASSPATH=C:\Jaf_1.0.1\activation.jar;%CLASSPATH%
set CLASSPATH=C:\Soap_2.2;%CLASSPATH%

And then, this is what I added in my
"C:\Soap_2.2\samples\stockquote\testit.cmd" file :

set CLASSPATH=..\..;%CLASSPATH%
set CLASSPATH=C:\Xerces_1.4.0\xerces.jar;%CLASSPATH%
set CLASSPATH=..\..\lib\soap.jar;%CLASSPATH%
set CLASSPATH=C:\JavaMail_1.1.3\mail.jar;%CLASSPATH%
set CLASSPATH=C:\Jaf_1.0.1\activation.jar;%CLASSPATH%

For the deployment, I've put a copy of soap.war into the
"C:\Tomcat_3.2.2\webapps" directory.
I added the following lines to the "C:\Tomcat_3.2.2\conf\server.xml" in
order to recognize the new web application soap :

        <Context path="/soap"
                 docBase="webapps/soap"
                 crossContext="true"
                 debug="1"
                 reloadable="true"
                 trusted="false" >
        </Context>

After doing that and restarting the server, you should see something like
that (if the http://www.xmltoday.com server is up) :

This test assumes a server URL of
http://localhost:8080/soap/servlet/rpcrouter
Deploying the stockquote service...
.
Verify that it's there
Deployed Services:
        urn:xmltoday-delayed-quotes
.
Running the stockquote test
118.12
.
Undeploy it now
.
Verify that it's gone
Deployed Services:

Hope this will help !

Christian BERNARD
NAGORA Technologies

-----Original Message-----
From: Adrian Almenar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 12, 2001 8:03 PM
To: [EMAIL PROTECTED]
Subject: RE: Problems with Examples


Sorry, but i didnt work have another idea ??
i rewriting again the error.

> > Ouch, the call failed:
> >   Fault Code   = SOAP-ENV:Server.BadTargetObjectURI
> >   Fault String = Unable to resolve target object:


Adrian Almenar


If you see the service on the Apache SOAP admin, that means that all is good
on the server behalf for xerces.jar, soap.jar...
The problem is the samples. Try to add "set
CLASSPATH=C:\Soap_2.2;%CLASSPATH%" to your server classpath. This error
happens when the SOAP implementation tries to create an instance of the
samples.stockquote class.

Christian BERNARD
NAGORA Technologies



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to