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
xmldbtest.java
Description: JavaScript source
