Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Groovy XML-RPC

Error rendering macro 'link' : Link needs a name and a URL as arguments.
is a protocol which allows different programs written in different programming languages running on different machines to communicate over the Internet. Groovy has an XML-RPC implementation which allows you to create an XML-RPC server and to make calls on remote XML-RPC servers.

The Server

It's really easy to set up a server which provides a set of remotely callable functions.

  1. Create a server object
  2. Add some methods
  3. Start the server
  4. You're done!

The Client

It's pretty easy to make the remote calls too

  1. Create a proxy object to represent the remote server
  2. Call the remote method via the proxy
  3. That's all you need
  • No labels