You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by "hans@seesite.be" <ha...@seesite.be> on 2003/05/28 13:10:24 UTC
need help, xml-rpc NoSuchMethodException
Hi all,
Trying to access Xindice-1.1, trough php, xmlrpc.
Looks like the installation succeeded, can call the db by browser (UGLY
DEBUG TOOL!) and command-
line.
An xml-rpc request is posted :
POST /Xindice HTTP/1.0
User-Agent: PHP XMLRPC 1.0
Host: 127.0.0.1
Content-Type: text/xml
Content-Length: 174
<?xml version="1.0"?>
<methodCall>
<methodName>db.listCollections</methodName>
<params>
<param>
<value><string>/db</string></value>
</param>
</params>
</methodCall>
and tomcat answers with :
---GOT---
HTTP/1.1 200 OK
Content-Type: text/xml
Content-Length: 271
Date: Tue, 27 May 2003 22:24:03 GMT
Server: Apache Coyote/1.0
Connection: close
<?xml version="1.0" encoding="UTF-
8"?><methodResponse><fault><value><struct><member><name>faultString</
name><value>java.lang.NoSuchMethodException</value></member><member><name>faultCode</
name><value><int>0</
int></value></member></struct></value></fault></methodResponse>
---END---
I have tried ListCollections as methodname instead of db.listCollections,
with the same result.
Does anyone have an idea of what is going wrong here?
Is the xml-rpc call not ok, something wrong with configuration or
installation or ...?
Specifications :
xindice-1.1b
tomcat 4.1
linux debian-woody