The service listing looks fine.  It has the class name and method name as it shoud be.

The class is       samples.stockquote.StockQuoteService
I have put the samples folder in the common/classes directory. in fact I've tried it 
in every possible classes directory and with all kinds of classpath settings.  The 
server just refuses to find it.  
I'm convinced I'm making a very silly, very fundamental mistake.

Caroline

1/3/02 3:59:49 PM, "William Brogden" <[EMAIL PROTECTED]> wrote:

>I would suspect that BadTargetURI is related to the deployment 
>descriptor - have you taken a close look at the service listing
>that the Apache SOAP Admin service shows?
>
>> -----Original Message-----
>> From: Caroline Clewlow [mailto:[EMAIL PROTECTED]] 
>> Sent: Thursday, January 03, 2002 7:49 AM
>> To: [EMAIL PROTECTED]
>> Subject: BadTargetURI error
>> 
>> 
>> If anyone has even the remotest idea of a solution for this 
>> I'd really appreciate some advice.
>> I am getting the above error returned by the SOAP server when 
>> I try to use the GetQuote method in the StockQuote soap  sample.
>> I have read a number of discussions about this and have tried 
>> to remedy it by including the soap-2_0 directory in the 
>> tomcat  classpath so that the sample classes can be found. 
>> THis was to no avail.
>> 
>> My classpath settings are below.
>> set   
>> CP=%CATALINA_HOME%\common\lib\xerces.jar;%CATALINA_HOME%\bin\b
>> ootstrap.jar;%JAVA_HOME%\lib\tools.jar;e:\soap-2_0\;%CATALINA_
>> HOME%\common\lib\soap.jar
>> if "%JSSE_HOME%" == "" goto noJsse
>> set 
>> CP=%CP%;%JSSE_HOME%\lib\jcert.jar;%JSSE_HOME%\lib\jnet.jar;%JS
>> SE_HOME%\lib\jsse.jar
>> :noJsse
>> set CLASSPATH=%CP%;%CLASSPATH%
>> Thanks again
>> Caroline
>> 
>> 
>
>
>
>



Reply via email to