<p>You can probably do it for one particular client (and/or server) platform (essentially MS or Java). But if you want multi platform compatibility (mixed MS & Java) you run into issues of how SOAP is interpreted. Working to get that sorted will allow you to descend to a new level of hell, I dare say :-(</p>

<p>Unfortunately, I cannot remember the details, I've successfully purged them from my memory. But generated server and client stubs in MS and Java didn't obey the same rules. Admittedly, this is now some time ago, so maybe things have improved? If you're dealing with either servers or clients with generated stubs on a variety of platforms, you'll need to figure out how they work in quite a bit of detail.</p>

<p>Robby</p>
<div class="gmail_quote">On Apr 29, 2014 2:48 PM, "Max Lapshin" <<a href="mailto:max.lapshin@gmail.com">max.lapshin@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><br><div>Hi.</div><div><br></div><div>I'm writing Onvif implementation in Erlang and I experience pain (no, wrong, it is PAIN) with handling all that nice XML, XPath, SOAP, WSDL  stuff with ad-hoc self-written implementations.</div>

<div><br></div><div><br></div><div>I have a very serious feeling that it is possible to write a generator of boiler plate code that will translate funcall to SOAP XML packet and back.</div><div><br></div><div>I've looked at this: <a href="https://github.com/campanja/detergent" target="_blank">https://github.com/campanja/detergent</a>  and haven't found there authorization and exact routing code.</div>

<div><br></div><div>Am I the only one who is suffering from this?</div><div><br></div><div>Right now I need working soap client and later soap server.</div><div><br></div></div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div>