JalaUtil/XmlRpcClient

XML-RPC Client

Installation

To install the application add the following to the apps.properties file in your Helma installation directory:

xmlrpcclient
xmlrpcclient.repository.0 = ./modules/jala/util/XmlRpcClient

Using the XML-RPC client

To access the Xml-Rpc client interface point your browser to the URL

http://your.server.domain[:port]/xmlrpcclient

Replace your.server.domain with the domain of your server, and (optionally) the port part with the port number your Helma installation is listening at. Then fill out the form with at least the URL of the Xml-Rpc service and the method name (both are required).

Optionally you can pass various arguments to the remote method using standard Javascript literal notation, eg.:

String:  "a string"
Number:  1
Boolean: true
Object:  {name: "jala"}
Array:   [1, 2, "three", 4]
Date:    new Date(2007, 0, 22, 15, 10)

By default the Xml-Rpc client uses UTF-8 as encoding for request and response, which you can change to ISO-8859-1 if necessary. If you select the "Show Xml" checkbox the result shown will also contain the Xml source of the request and response, which is useful for debugging.

Finally you can force the client to use a specific HTTP proxy for requests, which you must define in the form "fqdn:port", eg. "my.proxy.com:3128".