Reputation: 44
I have used few python soap libraries (SOAPpy, soaplib and Twisted wrapper around SOAPpy) to write my soap web service.
When I used python clients (SOAPpy.SOAPProxy and SUDS), I was able to communicate with my web service (returning simple and complex type objects).
But, when I tried with C# ASP.net, I got many issues. I came over returning simple types (int, string, double, boolean) issue with some hack into SOAPpy library. But, I am still struggling with returning ComplexTypes from SOAPpy.
I could not find any complete, compatible alternative python library for writing my web service.
Main Question: Any suggestions/examples for dot net compatible complex type return from python web service would be highly appreciated.
Note: I had to hack SOAPpy quite a bit to make it working in first place. And, I had to handwrite wsdl file in case of SOAPpy.
Upvotes: 1
Views: 916
Reputation: 24662
In my personal opinion, the compatibility of Python SOAP libraries with other platforms is not good.
I think that there are two issues here:
I haven't worked with web services for over a year now so may be things have changed. But the advice is the same as in the previous question:
suds
for Python web clients, after experimenting with it and soappy
and zsi
. That was after some time using a C based library (gsoap) and linking to it from Python.soaplib
or may be zsi
. But I am afraid there is almost no way around building your types slowly while checking for compatibility.Upvotes: 1