<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2005/05/312dd782eeca4eff1a70adef816315da"
  from="Alain Frisch &lt;Alain.Frisch@i...&gt;"
  author="Alain Frisch"
  date="2005-05-03T13:31:05"
  subject="Re: [Caml-list] OCaml and SOAP"
  prev="2005/05/3c86c7f89a0e15068b98a6a8d0c63694"
  next="2005/05/35c1a1feb2be04ba5ef2359db9586157"
  prev-in-thread="2005/05/3c86c7f89a0e15068b98a6a8d0c63694"
  next-in-thread="2005/05/223cd96856e31a1163642503b0a364a6"
  prev-thread="2005/01/d17a9cb2fc7b81830626f74cc4d88999"
  next-thread="2005/01/ca0e33f0cc0a7ac81f9b2e875c527da0"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="OCaml and SOAP">
<msg 
  url="2005/01/80d2d4f64d43ec1928a7bf56bf2f2f6d"
  from="Richard Jones &lt;rich@a...&gt;"
  author="Richard Jones"
  date="2005-01-29T10:37:55"
  subject="OCaml and SOAP">
<msg 
  url="2005/05/3c86c7f89a0e15068b98a6a8d0c63694"
  from="Richard Jones &lt;rich@a...&gt;"
  author="Richard Jones"
  date="2005-05-03T12:48:36"
  subject="Re: [Caml-list] OCaml and SOAP">
<msg 
  url="2005/05/312dd782eeca4eff1a70adef816315da"
  from="Alain Frisch &lt;Alain.Frisch@i...&gt;"
  author="Alain Frisch"
  date="2005-05-03T13:31:05"
  subject="Re: [Caml-list] OCaml and SOAP">
</msg>
</msg>
<msg 
  url="2005/05/223cd96856e31a1163642503b0a364a6"
  from="Maxence Guesdon &lt;maxence.guesdon@i...&gt;"
  author="Maxence Guesdon"
  date="2005-05-09T07:17:56"
  subject="Re: [Caml-list] OCaml and SOAP">
</msg>
<msg 
  url="2005/05/0faa280edec966e7eea93589bf7746e9"
  from="Richard Jones &lt;rich@a...&gt;"
  author="Richard Jones"
  date="2005-05-12T15:42:08"
  subject="ocamlnet and https client (was: Re: [Caml-list] OCaml and SOAP)">
</msg>
</msg>
</thread>

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

</contents>

</message>

