Interop between C# and Python

Ravi Teja webraviteja at gmail.com
Fri Apr 27 23:18:09 EDT 2007


On Apr 27, 6:09 pm, urielka <uriel.k... at gmail.com> wrote:
> i need a easy way to write a Python Service(be it SOAP or JSONRPC or
> whatever) but i need to easily access it from C#,i created a web
> service in ZSI(which is really easy) like this:
>
> from ZSI import dispatch
>
> def hello():
>     return "hello"
>
> dispatch.AsServer(port=8080)
>
> simple and easy but how i access it from C#,where is the wsdl for the
> service?
>
> is there any easier way to get this kind of interop?(not using a
> custom protocol over sockets)
>
> thx,
>    Uriel Katz

Use soaplib instead of ZSI. It has better WSDL support which makes it
easier to create client stubs from other languages.

http://trac.optio.webfactional.com/

Ravi Teja.




More information about the Python-list mailing list