<?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/d86dc5c0644770a1e596ac8ed04d2e9e"
  from="Eric Stokes &lt;gremin@i...&gt;"
  author="Eric Stokes"
  date="2005-05-24T16:32:13"
  subject="Re: [Caml-list] More on SOAP"
  prev="2005/05/9286991d81ae52bf3d33cf5e71230358"
  next="2005/05/5db04cbc701ed6f332f58c997a69f1ac"
  prev-in-thread="2005/05/7dd4baaa9251ab90a80b0e935bbdf51c"
  prev-thread="2005/05/e70f7a4442b38c866f2eca47cddb462d"
  next-thread="2005/05/4bb1ab0d8226ff97f4076d7cd031751b"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="More on SOAP">
<msg 
  url="2005/05/0c6354a37e41522a51d1e4e6e2881dcd"
  from="Richard Jones &lt;rich@a...&gt;"
  author="Richard Jones"
  date="2005-05-13T22:06:49"
  subject="More on SOAP">
<msg 
  url="2005/05/87d7750fe457b70de592627e341c5df7"
  from="Mike Lin &lt;nilekim@g...&gt;"
  author="Mike Lin"
  date="2005-05-14T21:53:59"
  subject="Re: [Caml-list] More on SOAP">
</msg>
<msg 
  url="2005/05/feb8580b4a6ba74f4723ffaffb2ed7da"
  from="Claudio Sacerdoti Coen &lt;sacerdot@c...&gt;"
  author="Claudio Sacerdoti Coen"
  date="2005-05-16T08:47:57"
  subject="Re: [Caml-list] More on SOAP">
<msg 
  url="2005/05/67c1e78787937413ce5e85eb5c193a42"
  from="Richard Jones &lt;rich@a...&gt;"
  author="Richard Jones"
  date="2005-05-16T09:11:13"
  subject="Re: [Caml-list] More on SOAP">
<msg 
  url="2005/05/956ebd87b4b0bbace6819a2fd0a27dbd"
  from="Richard Jones &lt;rich@a...&gt;"
  author="Richard Jones"
  date="2005-05-16T09:14:47"
  subject="Re: [Caml-list] More on SOAP">
</msg>
<msg 
  url="2005/05/74b7fb4253b37734d1bbd15a78a6739a"
  from="Claudio Sacerdoti Coen &lt;sacerdot@c...&gt;"
  author="Claudio Sacerdoti Coen"
  date="2005-05-16T09:17:43"
  subject="Re: [Caml-list] More on SOAP">
</msg>
</msg>
</msg>
<msg 
  url="2005/05/deccedf51511e46153d76a6b1cdb93a7"
  from="Richard Jones &lt;rich@a...&gt;"
  author="Richard Jones"
  date="2005-05-16T14:40:13"
  subject="Re: [Caml-list] More on SOAP">
<msg 
  url="2005/05/adf977f4e0fd617a155e83f14a26ab72"
  from="Richard Jones &lt;rich@a...&gt;"
  author="Richard Jones"
  date="2005-05-16T22:24:32"
  subject="Re: [Caml-list] More on SOAP">
<msg 
  url="2005/05/92458a4c4d4bc200a9ad37c4f3e4d46d"
  from="Richard Jones &lt;rich@a...&gt;"
  author="Richard Jones"
  date="2005-05-17T21:43:30"
  subject="Re: [Caml-list] More on SOAP">
<msg 
  url="2005/05/7dd4baaa9251ab90a80b0e935bbdf51c"
  from="Richard Jones &lt;rich@a...&gt;"
  author="Richard Jones"
  date="2005-05-23T21:02:07"
  subject="ANNOUNCE: OCaml SimpleSOAP 0.1.1 released">
</msg>
</msg>
</msg>
</msg>
<msg 
  url="2005/05/d86dc5c0644770a1e596ac8ed04d2e9e"
  from="Eric Stokes &lt;gremin@i...&gt;"
  author="Eric Stokes"
  date="2005-05-24T16:32:13"
  subject="Re: [Caml-list] More on SOAP">
</msg>
</msg>
</thread>

<contents>
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:

&gt;I've written a very trivial SOAP client in pure OCaml.  I'm interested
&gt;in what people think about the approach I've used.
&gt;
&gt;Instead of parsing WSDL, what I'm doing is allowing you to define the
&gt;interface as a familiar .mli file, as in the example below:
&gt;
&gt;----------------------------------------------------------------------
&gt;type campaign = {
&gt;  dailyBudget : int;
&gt;  id : int;
&gt;  name : string;
&gt;}
&gt;
&gt;val hello : string -&gt; string
&gt;val goodbye : string -&gt; string
&gt;val concat : string -&gt; string -&gt; string
&gt;val show : campaign -&gt; unit
&gt;----------------------------------------------------------------------
&gt;
&gt;The .mli file is then parsed using camlp4 macros and converted into
&gt;stub functions.  These can be called, and generate real SOAP calls to
&gt;the remote SOAP server.
&gt;
&gt;I have a very early, experimental package for people to play with.
&gt;This tarball contains a Perl server (based on SOAP::Lite) and the
&gt;OCaml client.
&gt;
&gt;http://annexia.org/tmp/simplesoap-0.0.1.tar.gz
&gt;
&gt;It requires PXP, ocamlnet, equeue and PCRE.
&gt;
&gt;Any type of feedback is very welcome.
&gt;
&gt;Rich.
&gt;
&gt;  
&gt;

</contents>

</message>

