I have dbXML 1.04b and the dbXML-XMLRPC 0.5.1 installed on Mandrake
Linux 8.0 using JDK 1.3.1.01. I have run the XMLRPC test (ant tests)
and received no errors or failures.
I now have a simple PHP routine that should count the documents in the
/db/root collection. When I run the PHP routine I get:
java.lang.Exception: RPC handler object not found for "/db": no
default handler registered
The relevant code I am using is:
7 include_once("xmlrpc.inc");
8
9 $f=new xmlrpcmsg("db.getDocumentCount",
10 array(new xmlrpcmsg("/db", "string")), "array");
11
12 $c=new xmlrpc_client("/db/root", "192.168.0.3", 4080);
13
14 $c->setDebug(1);
15
16 $r=$c->send($f);
17
18 $v=$r->value();
The xmlrpc.inc is version 1.1.1.1.2.3 by Edd Dumbill obtained from
xmlrpc.org. I have tested these routines using the samples and they
appear to work correctly.
Thanks in advance for any assistance,
Jimmy Little
(828) 835-8350
mailto:[EMAIL PROTECTED]
"There is only one basic human right, the right to do as you damn
well please. And with it comes the only basic human duty, the duty
to take the consequences."
--P.J. O'Rourke