Hi,

You might try looking at your tomcat.bat file (usually in
jakarta-tomcat/bin) where the classpath is set. It appends things to the
CLASSPATH env variable, but you could try manually adding the directory
containing the samples directory and restarting your server. Also remember
that you will need to restart tomcat each time you update your CLASSPATH
settings or if you update any of your classes for those changes to take
effect .

Nirmal.


                                                                                       
                            
                      Nishant Gupta                                                    
                            
                      <[EMAIL PROTECTED]        To:       [EMAIL PROTECTED]      
                            
                      om>                      cc:                                     
                            
                                               Subject:  RE: BadTargetURI error        
                            
                      01/04/2002 07:06                                                 
                            
                      AM                                                               
                            
                      Please respond to                                                
                            
                      soap-user                                                        
                            
                                                                                       
                            
                                                                                       
                            



 --- Caroline Clewlow <[EMAIL PROTECTED]> wrote: >
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
> >> >>
> >> >>
> >> >
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >
> >
> >
>
>
>

________________________________________________________________________
Download Logos, Picture Messages & Ringtones for your mobile phone
                Visit http://mobile.yahoo.co.in




Reply via email to