org.apache.xmlrpc.applet

Class SimpleXmlRpcClient


public class SimpleXmlRpcClient
extends java.lang.Object

A simple XML-RPC client. FIXME: This code is VERY out of date with the rest of the package.
Version:
$Id: SimpleXmlRpcClient.java 233919 2005-04-22 10:26:17Z hgomez $

Field Summary

(package private) URL
url

Constructor Summary

SimpleXmlRpcClient(String url)
Construct a XML-RPC client for the URL represented by this String.
SimpleXmlRpcClient(String hostname, int port)
Construct a XML-RPC client for the specified hostname and port.
SimpleXmlRpcClient(URL url)
Construct a XML-RPC client with this URL.

Method Summary

Object
execute(String method, Vector params)

Field Details

url

(package private)  URL url

Constructor Details

SimpleXmlRpcClient

public SimpleXmlRpcClient(String url)
            throws MalformedURLException
Construct a XML-RPC client for the URL represented by this String.

SimpleXmlRpcClient

public SimpleXmlRpcClient(String hostname,
                          int port)
            throws MalformedURLException
Construct a XML-RPC client for the specified hostname and port.

SimpleXmlRpcClient

public SimpleXmlRpcClient(URL url)
Construct a XML-RPC client with this URL.

Method Details

execute

public Object execute(String method,
                      Vector params)
            throws XmlRpcException,
                   IOException
Parameters:
method -
params -
Returns:
Throws:
XmlRpcException -

Copyright B) 1999-2002 Apache Software Foundation. All Rights Reserved.