From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 58640BC68 for ; Mon, 13 Nov 2006 13:46:50 +0100 (CET) Received: from mail13.syd.optusnet.com.au (mail13.syd.optusnet.com.au [211.29.132.194]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id kADCkkPH001898 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 13 Nov 2006 13:46:49 +0100 Received: from [222.110.241.138] ([222.110.241.138]) (authenticated sender slampe) by mail13.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id kADCkJdb015806; Mon, 13 Nov 2006 23:46:26 +1100 Message-ID: <45586923.6060603@optusnet.com.au> Date: Mon, 13 Nov 2006 21:46:27 +0900 From: Stefan Lampe User-Agent: Thunderbird 1.5.0.5 (X11/20060728) MIME-Version: 1.0 To: Richard Jones Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] SOSS - SOAP server for OCaml References: <4557510D.30203@optusnet.com.au> <20061112192041.GA11486@furbychan.cocan.org> In-Reply-To: <20061112192041.GA11486@furbychan.cocan.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 45586936.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; ocaml:01 ocaml:01 extensively:01 ocamlduce:01 cduce:01 ocamlduce:01 wrote:01 wrote:01 caml-list:01 expressive:01 types:03 types:03 generated:05 somewhere:05 interface:05 Richard Jones wrote: > On Mon, Nov 13, 2006 at 01:51:25AM +0900, Stefan Lampe wrote: > >> I'd like to announce that I've released a SOAP server for OCaml. >> >> It's available at http://www.caterpillarjones.org/soss >> >> An overview follows below, but I should mention two things, >> one: it's still alpha code, I have not used it extensively yet, and >> two: it makes extensive use of OCamlduce, which may be of >> interest to some people here. >> > > Oh interesting. Are you aware of our (cduce-implemented) > SOAP client? http://merjis.com/developers/oc-soap > > Rich. > Yes, originally I didn't intend to write a SOAP server, I just wanted to use one - so I looked around for SOAP and OCaml and found OC-SOAP. I then thought I might be able to extend OC-SOAP, but in the end I chose to map from OCaml types to a schema rather than from schema to an OCaml types. For the server side this made more sense, and is nice, in a way... SOSS and OC-SOAP complement each other well. I may soon add a client feature to SOSS, but it will never work with a generic SOAP service, since it will be generated from the OCaml server side interface file - rather than the more public WSDL. It would only provide a solution for an OCaml client with OCaml server where the developers of each are in close contact with each other. For myself though, I only wanted to develop a server side application in OCaml and develop a client in another language - which is why I haven't added this feature yet, though most of the glue is, by default, already written. I think I may have already read in a message somewhere that you recommended CDuce after using it for OC-SOAP, but if anyone else is reading this that is interested in manipulating XML in an OCaml application, I found OCamlduce to be very clear, concise and expressive. I was very impressed. Stefan