caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Alain Frisch <Alain.Frisch@inria.fr>
To: Richard Jones <rich@annexia.org>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] OCaml and SOAP
Date: Tue, 03 May 2005 15:30:34 +0200	[thread overview]
Message-ID: <42777CFA.8010904@inria.fr> (raw)
In-Reply-To: <20050503125024.GA4988@furbychan.cocan.org>

Richard Jones wrote:
> I've asked about OCaml and SOAP before on this mailing list and didn't
> get a response.  As far as I can find out, there are two
> possibilities, but both seem unsuitable.  OCaml-SOAP (from INRIA) -
> the home page for this has disappeared in the site redesign.  O'SOAP -
> seems to be all about writing command-line clients and attempts no
> mapping of data types.
> 
> 				---
> 
>     Is anyone interested in discussing writing a SOAP client
>     with me, in pure OCaml, and probably based around ocamlnet
>     and/or PXP?
> 
> 				---
> 
> General plan: a tool which could take a WSDL description file and
> generate OCaml stubs for functions and datatype conversions.  The
> stubs would use PXP to make and parse SOAP XML, and ocamlnet to
> dispatch the requests off to the server.

Parsing WSDL means parsing XML Schema, which is not straightforward.
Stefano Zacchiroli and I have written an approximative parser for XML 
Schema (used in CDuce); you could use it as a starting point. I'm 
currently reimplementing such a parser using my OCaml+CDuce extension
as the implementation language, and trying to follow closely the XML 
Schema spec, but I guess you won't want to switch to this experimental 
language just to parse XML Schema.

-- Alain


  reply	other threads:[~2005-05-03 13:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-29 10:37 Richard Jones
2005-05-03 12:50 ` [Caml-list] " Richard Jones
2005-05-03 13:30   ` Alain Frisch [this message]
2005-05-09  7:17 ` Maxence Guesdon
2005-05-12 15:44 ` ocamlnet and https client (was: Re: [Caml-list] OCaml and SOAP) Richard Jones

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=42777CFA.8010904@inria.fr \
    --to=alain.frisch@inria.fr \
    --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;
as well as URLs for NNTP newsgroup(s).