Jialing- I'd test that your service really is deployed. You can do this using the following from the command line: java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter list
This will show all deployed web services by their service name (like urn:AddressFetcher). If you do not see your service, be sure your deployment descriptor is correct and try to deploy again. Erich Izdepski Senior Software Engineer Cysive, Inc. -----Original Message----- From: Leng, Jialing [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 6:06 AM To: '[EMAIL PROTECTED]' Subject: RE: SOAP-ENV:Server.BadTargetObjectURI Karin, thanks for help. I'm certainly more a beginner. I tried to put my server class to the dir Apache Tomcat 4.0.4-b3\webapps\soap\Web-inf\classe but still didn't work. I am sure it is something to do with settings. I am using Apache Tomcat 4.0.4-b3 on Win NT and I put all the jar files(xerces.jar, soap.jar, mail.jar...) to the dir Apache Tomcat 4.0.4-b3\common\lib Then I created the soap dir under Apache Tomcat 4.0.4-b3\webapps with admin dir and Web-inf under soap. In the server.xml, I added in soap context <!-- Soap Context --> <Context path="/soap" docBase="C:/webservice/Apache Tomcat 4.0.4-b3/webapps/soap" reloadable="true"> </Context> I used http://localhost:8080/soap/admin/index.html to have deployed the service. What does deployment do here ? Then whenever I run my very simple client, it gets SOAP-ENV:Server.BadTargetObjectURI Can you anything missing/wrong with the above settings? Thanks a lot Jialing -----Original Message----- From: Karin Stadler [mailto:[EMAIL PROTECTED]] Sent: 20 May 2002 21:54 To: [EMAIL PROTECTED] Subject: Re: SOAP-ENV:Server.BadTargetObjectURI Hello Jialing, I'm not sure about the background and I'm also a beginner with SOAP, but I think that you put your example server-class in the wrong directory. Put your server-class in Apache Tomcat 4.0.3\webapps\soap\Web-inf\classes. This is the base directory where soap expects its server-classes. In the examples directory Tomcat expects servlet-classes. This is at least the default if you don't change anything in the Tomcat configuration. I hope that's a right guess :-) Karin -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net