You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Philipp Chudinov <mo...@basko.ru> on 2002/09/16 02:01:29 UTC

CVS Xindice usage

Some more questions.
I use
java version "1.4.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_01-b03)
Java HotSpot(TM) Client VM (build 1.4.0_01-b03, mixed mode),

tomcat 4.0.4

And questions are:
1) Should I use JAXB 1.2 to make xml-rpc calls? I do not need an embed
version.
2) Or, how can I make this work?

      XmlRpc.setEncoding("UTF8"); ------should it be Java enc. name, or
"utf-8" will be enough?
      XmlRpc.setDriver("xerces"); ------- what's this and what libraries do
I need to make this work? Should I use XercesImplblah (and, then, JAXB1.2)
      XmlRpcClient client = new
XmlRpcClient("http://localhost:4080/RPC2"); -- the address should be the
address of the Xindice servlet?

3)
      Hashtable message = new Hashtable();
      message.put("message", "InsertDocument"); --where is the list of all
messages? what is a message? should I use Hashtables?
      message.put("name", "utf8-test");
      message.put("collection", "/db/test3");