Stupid error on my part - I forgot the line: call.setParams( params ).

That would explain why I had the getRate([none])

Thanks for your help!
Sam


> -----Original Message-----
> From: Samantha Savvakis [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 2 May 2002 3:34 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Another Unable to Resolve Target Question
>
>
> Thanks! I'll give that a try
>
> > -----Original Message-----
> > From: dinakar [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, 3 May 2002 1:56 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Another Unable to Resolve Target Question
> >
> >
> > i think the way ur calling the service from client may be wrong..
> > i have attached the same working samples which ur trying..
> >
> > bye
> > dinakar
> >
> >
> >
> > ----- Original Message -----
> > From: "Samantha Savvakis" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, May 02, 2002 12:12 AM
> > Subject: RE: Another Unable to Resolve Target Question
> >
> >
> > > HI,
> > >
> > > Thanks for response. I did this and it solved the Unable to
> > Resolve Target
> > > problem. I also found that if I copied the .class files into
> the Tomcat
> > > "classes" directory, this also solved the problem.
> > >
> > > So.. fix one problem, another one comes up. I'm now getting:
> > >
> > > Exception while handling service request: Exchange.getRate([none]) not
> > > found.
> > >
> > > I'm guessing it's something stupid and simple here.
> > >
> > > Thanks,
> > > Sam
> > >
> > > > -----Original Message-----
> > > > From: dinakar [mailto:[EMAIL PROTECTED]]
> > > > Sent: Friday, 3 May 2002 12:26 AM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Re: Another Unable to Resolve Target Question
> > > >
> > > >
> > > > jar ur Exchange and IExchange classes using
> > > > jar cvf exchange.jar Exchange.class IExchange.class.
> > > > place exchange.jar file under  ur tomcat/lib/ directory.
> > > > restart the server and then try..hope this helps..
> > > > i faced the same problem and by doing the above procedure my
> > > > problem got solved..
> > > >
> > > > regards
> > > > dinakar
> > > >
> > > > ----- Original Message -----
> > > > From: "Samantha Savvakis" <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Wednesday, May 01, 2002 8:24 PM
> > > > Subject: Another Unable to Resolve Target Question
> > > >
> > > >
> > > > > Hi,
> > > > >
> > > > > I am trying to create a simple Web Service for testing purposes.
> > > > >
> > > > > I have followed the instructions at:
> > > > >
> > > > http://www-106.ibm.com/developerworks/library/ws-peer2/index.html
> > > > to create
> > > > > a simple Web Service and a Java client to call the Web Service.
> > > > >
> > > > > I am running:
> > > > >
> > > > > SCO Openserver 5.0.6
> > > > > Apache Tomcat 4.0.3
> > > > > Soap 2.2
> > > > > JDK2 version 1.3
> > > > > JRE2 version 1.3
> > > > >
> > > > > Steps I have done:
> > > > >
> > > > > 1. Created directory: /u/dev/webservices
> > > > > 2. Created Interface: /u/dev/webservices/IExchange.java
> > > > > 3. Create Class Exchange : /u/dev/webservices/Exchange.java
> > > > (this is my web
> > > > > service)
> > > > > 4. Compile : javac Exchange.java => Exchange.class file
> was created.
> > > > > 5. I added /u/dev/webservices to my CLASSPATH
> > > > > 6. Stopped and started Tomcat
> > > > > 7. Went to the SOAP Admin page and deployed my web service:
> > urn:exchange
> > > > > 8. Created a Java client: /u/dev/webservices/Client.java
> > > > > 9. compiled and tried to run: java Client
> > > > >
> > > > > Get the usual error that lots of other people have:
> > > > > SOAP-ENV:Server.BadTargetObjectURL, Unable to resolve
> target object:
> > > > > Exchange
> > > > >
> > > > > Now.. what am I supposed to have in the CLASSPATH?
> > > > >
> > > > > My CLASSPATH at the moment has:
> > > > >
> > > > /usr/local/jar/xerces.jar:/usr/local/jar/activation.jar:/usr/local
> > > > /jar/mail.
> > > > > jar:/usr/local/jar/soap.ja
> > > > >
> r:/u/tomcat/jakarta-tomcat-4.0.3/lib/tomcat.jar:/u/dev/webservices/
> > > > >
> > > > > I'm gathering I'm missing a simple step here somewhere.
> > > > >
> > > > > Thanks,
> > > > > Sam
> >
>

Reply via email to