Hi, Anyone out there who knows the (new?) names of the XML-RPC services?
Klemens -----Urspr�ngliche Nachricht----- Von: Dr. Klemens Waldh�r [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 15. November 2002 16:35 An: [email protected] Betreff: 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
