You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by "Leng, Jialing" <ji...@uk.fid-intl.com> on 2002/05/20 11:53:26 UTC
SOAP-ENV:Server.BadTargetObjectURI
I just started Apache Soap stuff.
I am using Apache Tomcat 4.0.3 and deployed the test server
from deploy button on http://localhost:8080/soap/admin/index.html and put
the server class into
Apache Tomcat 4.0.3\webapps\examples\Web-inf\classes which is in the
classpath setting.
But when I run the client, it always gets the error:
Fault= SOAP-ENV:Server.BadTargetObjectURI, Unable to resolve target object:
Exch
ange
Why is that ?
Jialing
Re: SOAP-ENV:Server.BadTargetObjectURI
Posted by Karin Stadler <ka...@gmx.de>.
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
Re: SOAP-ENV:Server.BadTargetObjectURI
Posted by Karin Stadler <ka...@gmx.de>.
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