How to create an XmlRpcRequest object?

View: New views
2 Messages — Rating Filter:   Alert me  

How to create an XmlRpcRequest object?

by Sergiy Kolesnikov-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

is there any possibility to create a XmlRpcReaquest object from, for
example, a XML file or character stream containing a single XML-RPC
method call in the format described by the XML-RPC Specification?

Why I need this:
1. I have a XML file with a XML-RPC method call.
2. I read the file and create an XmlRpcReaquest object from that data.
3. Pass this object to the XmlRpcClient.execute to perform the call.

I use XML-RPC 3.1.2

--
Regards,
Sergiy S. Kolesnikov



Re: How to create an XmlRpcRequest object?

by Jochen Wiedmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Use the XmlRpcRequestParser.

Jochen

On Sun, Jul 19, 2009 at 5:35 PM, Sergiy Kolesnikov<skstudio@...> wrote:

> Hi All,
>
> is there any possibility to create a XmlRpcReaquest object from, for
> example, a XML file or character stream containing a single XML-RPC
> method call in the format described by the XML-RPC Specification?
>
> Why I need this:
> 1. I have a XML file with a XML-RPC method call.
> 2. I read the file and create an XmlRpcReaquest object from that data.
> 3. Pass this object to the XmlRpcClient.execute to perform the call.
>
> I use XML-RPC 3.1.2
>
> --
> Regards,
> Sergiy S. Kolesnikov
>
>
>



--
Base64 decoding, 300% faster than sun.misc.BASE64Decoder:
http://archive.netbsd.se/?ml=commons-dev&a=2008-05&t=7522166