Remote Procedure Calls Refined
XML-RPC is a simple way to call remote methods
and Apache XML-RPC is a
popular Java implementation of the protocol.
Extension by Light Development
The Light Development XML-RPC Extension adds functionality to XML-RPC
for use of proxy servers with or without SSL encryption.
Proxy example
Here an example of how to use the extensions to make an XML-RPC
call over a proxy server:
URL myProxyUrl = new
URL("my.proxy.server.de");
int proxyPort = 8080;
Communicator c = new
Communicator(myProxyUrl, proxyPort);
URL serverUrl = new
URL("http://my.server.com/rpc");
Vector params = new Vector();
params.add("a parameter");
Object result = c.rpcExec(serverUrl,
"MyRpcHandler.aMethodName", params, null);
if(result != null) {
// handle result here
}
|
Download here
You can download the release package from below links.
|
Downloads and resources
|
|
|
release package
classes, sources and API docs as consistent release package (96 KB)
|
|
|
read API docs online
API documentation in Javadoc format for online reading
|
Requirements
To use the source codes in the package for own solutions a Java Software Development Kit (SDK)
is required. The latest Java SDK can be obtained free of charge at
http://java.sun.com
In addition Apache XML-RPC Version 2 and
the Apache Commons Codec package
is required in the classpath of applications that use the
Light Development XML-RPC Extensions.
|