Return to Snippet

Revision: 2931
at May 11, 2007 04:06 by olivernautsch

Initial Code
package net.nautsch.snipplr;

import org.apache.xmlrpc.client.XmlRpcClient;
import org.apache.xmlrpc.client.XmlRpcClientConfigImpl;

class SnipplrRunner {

  static void main(args) {
	  XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl()
	  config.setServerURL(new URL(""))
	  XmlRpcClient client = new XmlRpcClient()
	  Object[] params = ["<insert your id here>"]
	  def boolean result = client.execute("user.checkkey", params)
	  println result

Initial URL

Initial Description
simple example and my first entry in snipplr

Initial Title
access snipplr with groovy via XML-RPC

Initial Tags

Initial Language