Thanks, Kurt, for your answer, which is very interesting for me as well.
For a correct understanding: isn't there the possibility to access the
database programmatically like the 1.0 version in terms like:

col = DatabaseManager.getCollection("xmldb:xindice-embed:/localhost:8080//db/addressbook");

?? (I also tried some variations of the address string but without success)
Thanks for any suggestions!

Carsten

Am Dienstag, 19.11.02, um 05:10 Uhr (Europe/Berlin) schrieb Kurt Ward:

The XML-RPC API in CVS (a.k.a 1.1b) has completely different method
signatures for the calls.
The CVS tree in general is very different from the Xindice 1.0 release:
CORBA has been dropped, the database itself is not compatible with 1.0,
XMLObjects have been removed (for the time being), etc. etc..
There really is not much if any documentation for the CVS version, but we
are working on it. You can browse the current CVS source and obtain the new
rpc methods, but they will probably change a little until we get a new
release put together. Hope this helps (a little).

Kurt

----- Original Message -----
From: "Dr. Klemens Waldh�r" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, November 15, 2002 10:34 AM
Subject: AW: AW: Problems with war file - where is the db directory needed?


Hi,

I tried now to use the url: http://localhost:5080/xindice/db for the rpc
calls.

Although this was not successful - in a way :-) - I got the following
response back:

---- request ----
<?xml version="1.0"?>
<methodCall>
<methodName>db.listCollections</methodName>
<params>
<param><value><string>/db</string></value></param>
</params>
</methodCall>
---- response ----
<?xml version="1.0"
encoding="UTF-8"?><methodResponse><fault><value><struct><member><name>fa
ultString</name><value>java.lang.NoSuchMethodException:
db.listCollections</value></member><member><name>faultCode</name><value>
<int>0</int></value></member></struct></value></fault></methodResponse>

This seems to indicate (???) that I "reached Xindice" but the method is
not supported. I am using the names (like db.listCollections) from the
Xindice 1.0 version. Maybe they have changed ???? Question is where can
one find the new names.

Klemens

-----Urspr�ngliche Nachricht-----
Von: Carsten Ziegert [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 15. November 2002 15:33
An: [email protected]
Betreff: Re: AW: Problems with war file - where is the db directory
needed?



Am Freitag, 15.11.02, um 15:27 Uhr (Europe/Berlin) schrieb Carsten
Ziegert:

Am Freitag, 15.11.02, um 11:49 Uhr (Europe/Berlin) schrieb Dr. Klemens
Waldh�r:

Maybe a silly question: If I use now xml-rpc for access, do I have to

use http://localhost:5080/xindice/ now for the URL ? As far as I
rememeber the old version of Xindice was running under 4040.


I run into the same problem. All of the following trials to get a
database
connection resulted in error 400:

Sorry - of course it's not the same problem but a similar one: how are
the
URLs and the collection prefixes defined for the CVS version?


col = DatabaseManager.getCollection("xmldb:xindice-embed:///db");

col =
DatabaseManager.getCollection("xmldb:xindice-embed://localhost:8090/
db");

col = DatabaseManager.getCollection("xmldb:xindice-embed://141.71.2.3:
8090/db");

Thanks for any suggestions!

Carsten
--
Carsten Ziegert

Hannover Medical School, Dept. of Hematology and Oncology
Carl-Neuberg-Stra�e 1, 30625 Hannover

University of Applied Sciences, Faculty of Information Sciences
Ricklinger Stadtweg 120, 30459 Hannover

http://summit-bmt.fh-hannover.de




--
Carsten Ziegert

Hannover Medical School, Dept. of Hematology and Oncology
Carl-Neuberg-Stra�e 1, 30625 Hannover

University of Applied Sciences, Faculty of Information Sciences
Ricklinger Stadtweg 120, 30459 Hannover

http://summit-bmt.fh-hannover.de




--
Carsten Ziegert

Hannover Medical School, Dept. of Hematology and Oncology
Carl-Neuberg-Stra�e 1, 30625 Hannover

University of Applied Sciences, Faculty of Information Sciences
Ricklinger Stadtweg 120, 30459 Hannover

http://summit-bmt.fh-hannover.de

Reply via email to