From: Eric Stokes <gremin@itkinetix.com>
To: Richard Jones <rich@annexia.org>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] More on SOAP
Date: Tue, 24 May 2005 09:32:01 -0700 [thread overview]
Message-ID: <42935701.8050403@itkinetix.com> (raw)
In-Reply-To: <20050513220936.GA7588@furbychan.cocan.org>
I like the camlp4 approach you've used very much. I'm sure it was
refreshing not to have to invent yet another interface definition language.
Richard Jones wrote:
>I've written a very trivial SOAP client in pure OCaml. I'm interested
>in what people think about the approach I've used.
>
>Instead of parsing WSDL, what I'm doing is allowing you to define the
>interface as a familiar .mli file, as in the example below:
>
>----------------------------------------------------------------------
>type campaign = {
> dailyBudget : int;
> id : int;
> name : string;
>}
>
>val hello : string -> string
>val goodbye : string -> string
>val concat : string -> string -> string
>val show : campaign -> unit
>----------------------------------------------------------------------
>
>The .mli file is then parsed using camlp4 macros and converted into
>stub functions. These can be called, and generate real SOAP calls to
>the remote SOAP server.
>
>I have a very early, experimental package for people to play with.
>This tarball contains a Perl server (based on SOAP::Lite) and the
>OCaml client.
>
>http://annexia.org/tmp/simplesoap-0.0.1.tar.gz
>
>It requires PXP, ocamlnet, equeue and PCRE.
>
>Any type of feedback is very welcome.
>
>Rich.
>
>
>
prev parent reply other threads:[~2005-05-24 16:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-13 22:09 Richard Jones
2005-05-14 21:53 ` [Caml-list] " Mike Lin
2005-05-16 8:47 ` Claudio Sacerdoti Coen
2005-05-16 9:14 ` Richard Jones
2005-05-16 9:17 ` Claudio Sacerdoti Coen
2005-05-16 9:17 ` Richard Jones
2005-05-16 14:43 ` Richard Jones
2005-05-16 22:27 ` Richard Jones
2005-05-17 21:46 ` Richard Jones
2005-05-23 21:03 ` ANNOUNCE: OCaml SimpleSOAP 0.1.1 released Richard Jones
2005-05-24 16:32 ` Eric Stokes [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42935701.8050403@itkinetix.com \
--to=gremin@itkinetix.com \
--cc=caml-list@inria.fr \
--cc=rich@annexia.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox