What's new? | Help | Directory | Sign in
Google
xmlrpc-light
XmlRpc for OCaml based on Xml-Light and Ocamlnet
  
  
  
  
    
Join project
Project owners:
  dave.benjamin

XmlRpc-Light

XmlRpc-Light is an XmlRpc library written in OCaml. It requires Xml-Light and Ocamlnet 2.

This software is still under development, but is already quite usable. Please send your thoughts, ideas, comments, and criticism to dave.benjamin@gmail.com.

New in version 0.6

New in version 0.5

Client Example

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

Server Example

    let server = new XmlRpcServer.cgi () in
    server#register "demo.sayHello"
      (fun _ -> `String "Hello!");
    server#run () 

Documentation

The latest HTML documentation is available here.