Fun with Plain Old Javascript SOAP library

HTML

<script src="https://raw.github.com/gtathub/js-soap-client/master/soapclient.js"></script>
<h3>Fun with Plain Old Javascript SOAP Library</h3>
<h4>Note: Use your Chrome/Safari Inspector to see console.log()</h4>
<h5>Note2: ignore the length error fired by jsfdiddle, data still gets here.</h5>
<p>Unlike <a href="http://jsfiddle.net/deanpeters/8U7eR/18/">our other, ground-up SOAP exercise</a>, this fiddle is basically an experient with the JS SOAP Client:</p>
<ul><li><a href="https://github.com/gtathub/js-soap-client">https://github.com/gtathub/js-soap-client</a></li></ul>
<p>The trick was generating a WSDL w/out all the cruft you get with using WSDL::Generator or SOAP::WSDL in combo with SOAP::Lite -- here was my solution to almost-hand-craft a usable WSDL</p>
<ul><li><a href="www.nbsoftware.com/wizards/ws_gen.php">ws_gen.php</a></li></ul>
<p>I would note, to get this script to work, a mod was needed to the .htaccess not only to allow access, but also to redirct calls to (.*?)\.cgi?wsdl to $1.wsdl</p>
<p>There are some articles &amp; other versions of this found at:</p>
<ul>
    <li><a href="http://www.guru4.net/articoli/javascript-soap-client/demo/en.aspx">Examples of this in action</a></li>
    <li><a href="http://www.guru4.net/articoli/javascript-soap-client/en/">Guru4 article on this library</a></li>
    <li><a href="http://javascriptsoapclient.codeplex.com/">CodePlex article on how this works</a></li>
    <li><a href="http://www.codeproject.com/Articles/12816/JavaScript-SOAP-Client">2006 CodeProject article on how this works</a></li>
    </ul>   
<p>There is also a lightweight alternative at the following worth trying:
    
<ul>
        <li><a href="https://github.com/kwhinnery/Suds">https://github.com/kwhinnery/Suds</a></li>
    </ul>
    </p>
    <p>Unfortunately, CORS is still broken on FireFox --- a Moz issue, not CORS</p>

<script type="text/javascript">
  var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-442503-9']);
   ...

CSS

h4 { color: green; }
h5 { color: red; }