c# - Is Python good for writing standard, compatible and complete SOAP web services? -


I used some dragon soap libraries ( twisted wrapper around SOAPpy, Sopilib and SOAPP ) Have done my soap web service

When I used the Python client (SOAPP. OopProxy 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 returned a simple type (int, string, double, boolean) with some hacks in the SOAPpy library. But, I am still struggling with returning the campus type from SOOPP.

I could not find any complete, compatible alternative dragon library to write my web service.

Main question: Any suggestions / examples for dot net compatible complex type returns from Ajith Web Services will be highly appreciated.

Note: I had to hit SOAPpy a lot, to work it in the first place and, in the case of SOAPpy, I wrote the wsdl file.

In my personal opinion, the compatibility of Python SOAP libraries is not good with other platforms. .

I think there are two problems here:

  • First of all, the compatibility of web services between web services is a desire rather than a real reality, for example, Java and To see how to use Web services between WCF, see. It is being said that the concept of WSDL, which is compiled from time to time, is not in line with the original philosophy of Python, very few efforts were put into it.

I have not worked with web services for more than a year, so things can change. But the advice is similar to the previous question:

  • If you are using more than one language / library, start with WSDL writing.
  • As with the second question, "Start with XSD, but limit yourself to mainstream types." Preferences, completions made from archives, arrays of the same. "
  • Finally I used the suds web client for Python, after experimenting with it and simple and zsi Based library and after some time connecting with Python.
  • I was never satisfied with Python implementation of the server, so I exported soap services used to make Python server and connect to them from any other library (in my case Java or C, you probably C #) Connection is usually a very simple protocol.
  • It's being said that, if you start with WSDL, you are likely to get good results using SOBANUB or zsi < / Code>. But I am afraid that while checking the compatibility, there is no way around slowly building their type.

Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -