Julian,
Just a quick note, embedding Xindice and also using it
from the command-line is a bit tricky.   When running
from the command-line, you need the -l and it uses
the XINDICE_HOME environment variable.   That is
where you will find your db.   However, if you start
up your embedded app in a different directory than
XINDICE_HOME it will create a new set of db
directories.   So, you will see two different results.
My solution was to set XINDICE_HOME to be
where my app starts from.   This requires setting
up at least one directory and a config file or two.
However, it does work.   I can create documents
through the embedded version of Xindice and
then dump them using the -l command.

xindice export -l -c /db/shopinfo -f documents

export     dump the documents
-l             local
-c            collection
-f             directory to dump them


HTH,

Mark

Julian wrote:

> Hi,
>
> I was previously toying around with using just the
> Java API for xindice, but since it does not want to
> cooperate, I must use XMLRPC.  I came to this
> conclusion since the the command line returns no
> results when using the -l and -d options (which I
> believe is equivalent to my java based code that uses
> xmldb:xindice-embed://), but  returns the proper
> results without the aforementioned options (which
> seems to use xmldb:xindice:// a.k.a. xmlrpc).  So I
> have a few security related questions:
>
> <questions>
> 1.Is the SSL code in the cvs scratchpad nearly
> production stable?
>
> 2.Is the XML RPC API for Xindice XML:DB compliant?
>
> 3.Is it possible to allow only the localhost to access
> the database? I do not want to open the db to the
> network nor do I want to have to open any non-ssl
> ports.
> </questions>
>
> Thanks In Advance,
> Julian
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com

--
Mark J Stang
System Architect
Cybershop Systems

begin:vcard 
n:Stang;Mark
x-mozilla-html:TRUE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Mark Stang
end:vcard

Reply via email to