One way to do it is to use the <i>wsdl.exe</i> tool to generate a proxy class. The tool will generate the proxy class in C# (it can&#39;t do IronPython code), but you can then take the resulting .cs file and compile it to a .dll (using the C# compiler - <i>csc.exe</i>). Place the .dll into the same folder as your IronPython program and add a reference to it from your IronPython code using the <b>clr.AddReference</b> method. Something like this:<br>
<br><b><span style="font-family: courier new,monospace;">import clr</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">clr.AddReference(&quot;MyServiceProxyClass.dll&quot;)</span><br style="font-family: courier new,monospace;">
</b><br>There may be other methods as well, which I&#39;m not aware of, but this is the way I would do it. The easiest way to get to <i>wsdl.exe</i> and <i>csc.exe</i> is to open up the Visual Studio command prompt, which puts all of these tools in your path - that way, you don&#39;t have to go hunting for the tools yourself.<br>
<br><br><br><div class="gmail_quote">On Fri, Nov 27, 2009 at 3:09 AM, Pavel Suhotyuk <span dir="ltr">&lt;<a href="mailto:pavel.suhotjuk@gmail.com">pavel.suhotjuk@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello.<br>
<br>
What a client library you recomend for using WebServices with IronPython ( something like SOAP.PY ) ?<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.ironpython.com" target="_blank">Users@lists.ironpython.com</a><br>
<a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>
</blockquote></div><br>