[IronPython] Web Services library

Pavel Suhotyuk pavel.suhotjuk at gmail.com
Tue Dec 1 08:15:04 CET 2009


Thank you for the answer.

Yes, I know about this way, but we have a part of processing system. 
This component compile and run many scripts and we want to have dynamic 
way to construct/destruct SOAP classes.

David Escobar wrote:
> One way to do it is to use the /wsdl.exe/ tool to generate a proxy 
> class. The tool will generate the proxy class in C# (it can't do 
> IronPython code), but you can then take the resulting .cs file and 
> compile it to a .dll (using the C# compiler - /csc.exe/). Place the .dll 
> into the same folder as your IronPython program and add a reference to 
> it from your IronPython code using the *clr.AddReference* method. 
> Something like this:
> 
> *import clr
> clr.AddReference("MyServiceProxyClass.dll")
> *
> There may be other methods as well, which I'm not aware of, but this is 
> the way I would do it. The easiest way to get to /wsdl.exe/ and 
> /csc.exe/ is to open up the Visual Studio command prompt, which puts all 
> of these tools in your path - that way, you don't have to go hunting for 
> the tools yourself.
> 
> 
> 
> On Fri, Nov 27, 2009 at 3:09 AM, Pavel Suhotyuk 
> <pavel.suhotjuk at gmail.com <mailto:pavel.suhotjuk at gmail.com>> wrote:
> 
>     Hello.
> 
>     What a client library you recomend for using WebServices with
>     IronPython ( something like SOAP.PY ) ?
>     _______________________________________________
>     Users mailing list
>     Users at lists.ironpython.com <mailto:Users at lists.ironpython.com>
>     http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com




More information about the Ironpython-users mailing list