|
Hi
Im running my first webservice (Apache httpserver
1.3.22/Tomcat 4.0.1/Apache soap 2.2/jdk1.3.1_01) , a sample app.
Im receiving a fault from my localhost
server (over the web everything works fine connecting to
the XMethods server, receiving a sensible reply. Its only my local installation
not working). "Exchange" (Exchange.class) is the service the server should
invoke:
Command prompt
output:
C:\soap_test>java Client
invoke service URL= http://localhost:8070/soap/servlet/rpcrouter URN= urn:soap_test:exchange Fault= SOAP-ENV:Server.BadTargetObjectURI, Unable to resolve target object: Exchange. The reply message looks like
this:
HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=utf-8
Content-Length: 494
Date: Fri, 09 Nov 2001 12:53:24 GMT
Server: Apache Tomcat/4.0.1 (HTTP/1.1
Connector)
Set-Cookie:
JSESSIONID=C2E3253520B320844751E04973460023;Path=/soap
<?xml version='1.0'
encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server.BadTargetObjectURI</faultcode>
<faultstring>Unable to resolve target object:
Exchange</faultstring>
<faultactor>/soap/servlet/rpcrouter</faultactor>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
In my CLASSPATH I have the directory of
C:\soap_test along with other stuff. I am confused partly because if I add
<Context path="/soap" docBase="C:/soap-2_2/webapps/soap"
reloadable="true"/>
to the server.xml I get a more sensible output, but then
the Apache SOAP Admin doesn't work anymore.
Could anyone please help me out with this? Thanks
in advance.
Thomas
|
- SOAP-ENV:Server.BadTargetObjectURI Jess Wagner
- SOAP-ENV:Server.BadTargetObjectURI Thomas Krogh
- SOAP-ENV:Server.BadTargetObjectURI Leng, Jialing
- Re: SOAP-ENV:Server.BadTargetObjectURI Karin Stadler
- RE: SOAP-ENV:Server.BadTargetObjectURI Leng, Jialing
- RE: SOAP-ENV:Server.BadTargetObjectURI Erich Izdepski
- SOAP-ENV:Server.BadTargetObjectURI Madhavi Thottempudi
- Re: SOAP-ENV:Server.BadTargetObjectURI Martin
- Re: SOAP-ENV:Server.BadTargetObjectURI Hainer Neil
- Re: SOAP-ENV:Server.BadTargetObjectURI Madhavi Thottempudi
- RE: SOAP-ENV:Server.BadTargetObjectURI Garikapati, Mohan L
- Re: SOAP-ENV:Server.BadTargetObjectURI Alf Koegel
