Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
ANN: XmlRpc-Light - XML-RPC client for OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-07-12 (05:28)
From: Dave Benjamin <dave@r...>
Subject: ANN: XmlRpc-Light - XML-RPC client for OCaml

I'm working on an XML-RPC client library for OCaml called XmlRpc-Light. 
It's very small and simple, and it only depends on Xml-Light and 
Ocamlnet so it's easy to compile and install. It's still under early 
development, and currently is only a client, though the pieces are there 
to build a server as well. Any suggestions, contributions, or criticism 
are gladly accepted.

Project page:

Main module:

Simple example:
     let rpc = new XmlRpc.client "http://localhost:8000" in
     let result = rpc#call "echo" [`String "hello!"] in
     print_endline (XmlRpc.dump result)

Complex example (wrapper for WordPress blog API):

PDF documentation:

The license is LGPL with the special exception for linking, same as 
Xml-Light. Thanks to Nicolas Cannasse for writing Xml-Light and for 
letting me use an adapted version of his Base64 codec from ExtLib. 
Thanks also to Gerd Stolpmann for the amazingly capable Ocamlnet 
library, of which I'm barely beginning to scratch the surface.

Just another OCaml hacker,