[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlrpc-user
Subject:    Re: RPC & JDOM
From:       "John Wilson" <tug () wilson ! co ! uk>
Date:       2002-05-29 18:56:43
[Download RAW message or body]

Your XML will be either a String or a byte array (the latter if you send it
Base64 encoded).

If it's a String just wrap it in a StringReader, if a byte array wrap it in
a BytaArrayInputStream. The you can call the build() method on your
SAXBuilder instance with this as a parameter.

John Wilson
The Wilson Partnership
http://www.wilson.co.uk
----- Original Message -----
From: "Stern, Chuck" <cstern@safenetconsulting.com>
To: <rpc-user@xml.apache.org>
Sent: Wednesday, May 29, 2002 7:44 PM
Subject: RPC & JDOM


Hi,

Has anyone ever done anything with JDOM and xml-rpc.  I have a
XmlRpcClient that returns a large result that I would like to use JDOM
to traverse.  Has anyone done this or figured out a way to transfer the
xml-rpc results into a JDOM document?

TIA,
Chuck


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic