Hi,

im not good with RPC, but shouldn't it say 'localhost' rather 
than 'localhosts'? or am I missing something!

XmlRpcClient xClient = new XmlRpcClient("http://localhosts:8080/Xindice";);

Gul


Quoting Trevor Leung <[EMAIL PROTECTED]>:

> Hi,
> 
> I use the attached java to connect the Xindice via XMLRPC, which can
> connect but with query error.
> Are there any wrong of it.
> 
> I use org/apache/xindice/client/xmldb/xmlrpc/CollectionImpl.java to
> implement the connections
> 
> For the query function with 
> 
> public ResourceSet query(String name, String queryLang, String query,
> Hashtable nsMap)
> {
> .....
> }
> 
> What parameter should I put into Hashtable? am I put the wrong
> parameter?
> 
> 
> The result is listed below:
> ===============================================
> java xmldbtest
> org.xmldb.api.base.XMLDBException: Query error
> null rs
> 
> test1
> 
> test2
> 
> test3
> 
> test4
> 
> test5
> 
> test6
> 
> test7
> 
> test8
> =======================================================
> 
> Thanks for your help,
> 
> Regards,
> --------------------
> Trevor Leung
> CINTEC, CUHK


-------------------------------------------------
This mail sent through IMP: webmail.brad.ac.uk

Reply via email to