I put my jarfiles for xerxes and soap in :setClasspath in \bin\tomcat.bat. Make sure that xerxes.jar comes first in the classpath.
//h�kan johansson -----Ursprungligt meddelande----- Fr�n: Caroline Clewlow [mailto:[EMAIL PROTECTED]] Skickat: den 4 januari 2002 12:39 Till: [EMAIL PROTECTED] �mne: RE: BadTargetURI error That could be my only option. This is very frustrating - I have placed the class files in every possible directory I can think of and the server is still reporting the error. Where exactly does the SOAP server look to find the class files - can anyone tell me. I don't want to just give up on Tomcat - I'd rather know why it's not working ! Thanks Caroline 1/3/02 4:57:39 PM, Kevin Lux <[EMAIL PROTECTED]> wrote: >Caroline, > >I had the same problem and got the classic "fix your classpath" answer. >Instead I went and installed the Resin server. Dropped in the soap.war >file, set my classpath to include the soap directory for the client, and >everything works. It seems Tomcat is just too picky and no one knows how >to make it happy. > >Kevin > >On Thu, 3 Jan 2002, Caroline Clewlow wrote: > >> 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 >> >> >> >> >> > >> > >> > >> > >> >> >> > > > This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst & Young Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
