You must use xml-rpc messaging to talk to xindice now. take a look at CVS unit test - there are some examples somewhere under the /rpc branch.
----- Original Message ----- From: "Stefan Lischke" <[EMAIL PROTECTED]> To: "Xindice Mailingliste" <[email protected]> Sent: Thursday, November 21, 2002 8:08 AM Subject: confused - calling XindiceServlet (null instead of Exception) > Hi, > > I checked out the newest cvs today and i'm a little bit confused by the new > Servlet Concept. > > I'm using my old Code which should give me a Collection: > ------------ > String coluri ="xmldb:xindice://localhost:8080/db/data"; > Collection col = DatabaseManager.getCollection(coluri); > if(col==null) > System.out.println("No Excpetion just f****** Collection is null"); > ------------ > > I copied the Xindice.war ( i renamed it) to the Tomcat(4.1.12-LE-jdk14) > webapps dir. The war deployed right and i can see the 'ugly' Webinterface, > which is made by the doGet() Method in XindiceServlet.java . > > In doPost() i can see the using of a xmlrpcServer. > > Now my question, how does my old CollectionUri (coluri) work with the > servlet? > > I think i have to change my coluri to something like > "xmldb:xindice://localhost:8080/Xindice/db/data" > > I'm asking this cause i think i cannot get a Connection to my Xindice, the > DatabaseManager.getCollection(coluri); > Method returns "null" instead of an Exception. > > > thanx stefan > >
