--- Brian Burridge <[EMAIL PROTECTED]> wrote: > I can run the xindice command line tool like this > and get the proper > responses: > xindice ld -c > xmldb:xindice://localhost:8080/db/restaurants > AND > xindice lc -c xmldb:xindice://localhost:8080/db > > I am using the rpc driver that you suggest below as > well > (org.apache.xindice.client.xmldb.xmlrpc.DatabaseImpl).
Sounds good > > The collection and db exist within the xindice > webapp. > > I did not set the system property you suggest > (xindice.configuration=<file_location>/system.xml). > What is in that for? > Is that just for the embedded version? Why would > cocoon need to be told > where the db is, when it can access it via xmlrpc? Yes, this is just if you wish to use an embedded collection. A couple of thoughts . . . . Here's my basic pipeline: <map:pipeline> <map:match pattern="remotedb/**"> <map:match type="request-parameter" pattern="xpath"> <map:generate src="xmldb:xindice://localhost:8080/db/{../1}#{1}"/> <map:serialize type="xml"/> </map:match> <map:generate src="xmldb:xindice://localhost:8080/db/{1}"/> <map:serialize type="xml"/> </map:match> </map:pipeline> I found that if you serialize to text the only time you will see output is if you ask for a particular document from the collection. I get a blank page otherwise. I was able to generate a Resource not found error by leaving off the trailing / on the URL. In other words, asking for http://localhost/cocoon/~mdeggers/remotedb fails while http://localhost/cocoon/~mdeggers/remotedb/ works as expected. I didn't mean to sound condescending in my earlier email . . . I was just trying to eliminate all possible sources of the problem. I apologize if I've caused an issue. HTH /mde/ just my two cents . . . . __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus