Hello.  I am interested in creating an open source Delphi (object pascal)
API for Xindice using the XML-RPC protocol.  I have already begun work on
this, but I need some guidance.

Right now I am simply trying to use Delphi to communicate with Xindice using
an existing Delphi API for XML-RPC.  I have had some success in that I am
able to connect to port 4080.  The message I am sending is intended to
return the document count for a collection.

Here is the message I send:

<methodCall><params><param><value><array><data><value><string>/db/root</stri
ng></value>
</data>
</array></value>
</param>
</params>
<RPCmethodName>db.getDocumentCount</RPCmethodName>
</methodCall>

And this is the reply that I receive:

<methodResponse><fault></fault>
<params><param></param>
</params>
</methodResponse>

Somehow, I don't think my message was properly constructed. I'm not sure
how to interpret the response, but it is not what I was expecting. I would
be grateful for any suggestions on this.

Thanks,
Pietro Michelucci

Reply via email to