On Wed, 2002-11-13 at 00:01, Ahmed wrote: > On Tue, 2002-11-12 at 18:26, Carsten Ziegert wrote: > > But how can I access the database via xmlrpc? > > xindice lc -c /db > > results in "ERROR : Collection not found!" whereas > > xindice lc -c xmldb:xindice-embed://localhost:8090/db > > results in "ERROR : The name of a collection must start with '/'" > > What am I missing?
> I can browse the system collection at > http://192.168.1.13:8180/xindice-1.1b/ with the "ugly debug tool". > For sure, a Xindice server is up... > Does anybody knows how to add/remove collections, documents to a > non-local database? Finally, I have done it. The wrong way: In the constructor of the CollectionImpl class (org.apache.xindice.client.xmldb.xmlrpc), I fix some values: hostPort = "localhost:8180" ; collPath = "/db" ; xmlrpcURI = "http://localhost:8180/xindice-1.1b" ; The facts are that I used different port (8180 instead of 8080) and a different XINDICE_SERVICE_LOCATION (xindice-1.1b instead of Xindice). Thanks.
