<br><br>
<div><span class="gmail_quote">On 8/22/07, <b class="gmail_sendername">Kevin A. Smith</b> <<a href="mailto:kevin@hypotheticalabs.com">kevin@hypotheticalabs.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I have a need to write both a Soap client and server in Erlang. Being<br>relatively new to Erlang and really new to Soap I have two questions:
<br><br>1) How mature are the Soap libs? Any problems or gotchas I should be<br>aware of?</blockquote>
<div> </div>
<div> </div>
<div>The are 2 soap libs that I am aware of: yaws_soap_lib and erlsoap. </div>
<div> </div>
<div>Both use Erlsom to parse the XML. I would like to think that Erlsom is fairly mature, but the soap implementations are both limited in scope and they could use some work. Still, depending on your needs, you may find them quite useful.
</div>
<div> </div>
<div>Yaws_soap_lib uses yaws as the HTTP server; erlsoap uses inets. </div>
<div> </div>
<div>Both include functions to build a client and a server (I haven't tried the erlsoap client).</div>
<div> </div>
<div>Both support soap over HTTP only.</div>
<div>Both support the 'document' binding style only</div>
<div>Both support the 'literal' encoding style only.</div>
<div>(Fortunately, SOAP over HTTP using document binding and literal encoding seems to be the preferred flavour of SOAP nowadays.)</div>
<div> </div>
<div>Yaws_soap_lib will accept a WSDL file as its configuration. Erlsoap will accept the XSD only (so you have to extract this from the WSDL).</div>
<div> </div>
<div>Erlsoap has no proper support for soap faults (this may not be an issue, because you may not require it. In any case it should be easy to fix this).</div>
<div> </div>
<div>There may be more limitations that I am not aware of... It would be interesting to know what your experiences are.</div>
<div> </div>
<div>Regards,</div>
<div>Willem</div>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">2) Are there any Erlang tutorials or FAQs for the Soap libs?<br><br>--Kevin<br>_______________________________________________
<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br><a href="http://www.erlang.org/mailman/listinfo/erlang-questions">http://www.erlang.org/mailman/listinfo/erlang-questions
</a><br></blockquote></div><br>