zsi

Are there any working examples of Zolera SOAP Infrastructure (ZSI)? [closed]

浪子不回头ぞ 提交于 2019-12-20 23:22:19
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . i have looked at examples : http://pywebsvcs.svn.sourceforge.net/viewvc/pywebsvcs/trunk/wstools/ http://pywebsvcs.sourceforge.net

Python SOAP WSDL works in SOAPpy but not ZSI or zeep

五迷三道 提交于 2019-12-13 08:47:52
问题 I need a python SOAP library that can handle multipart attachments. My understanding is that this is not supported by SOAPpy or suds but that it is supported by ZSI and zeep. However, while SOAPpy works just fine with the WSDL file that I need to use, ZSI and zeep give me errors. Here is the WSDL file: http://nva1wss.webex.com/nbr/services/NBRStorageService?wsdl. I opened the file in SoapUI and used the "Check WSI Compliance" option and it passed all of the checks. Here are my errors: zeep

wsdl2dispatch raises exception while generating server file

倖福魔咒の 提交于 2019-12-12 03:25:59
问题 I want to implement a SOAP web server using python ZSI library. I tried solution described here, but I get exception while using wsdl2dispatch command as described in page 6 of the book: wsdl2dispatch --extended mywsdl.xml It raises: Traceback (most recent call last): File "/usr/local/bin/wsdl2dispatch", line 11, in <module> load_entry_point('ZSI==2.0rc3', 'console_scripts', 'wsdl2dispatch')() File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 561, in load_entry

How to display outcoming and incoming SOAP message for ZSI.ServiceProxy in Python?

人走茶凉 提交于 2019-12-11 09:30:17
问题 How to display a SOAP message generated by ZSI.ServiceProxy and a respond from a Web Service when a Web Service method is invoked? 回答1: Here is some documentation on the ServiceProxy class. The constructor accepts a tracefile argument which can be any object with a write method, so this looks like what you are after. Modifying the example from the documentation: from ZSI import ServiceProxy import BabelTypes import sys dbgfile = open('dbgfile', 'w') # to log trace to a file, or dbgfile = sys

What content type should be in http header of soap 1.2 message?

烈酒焚心 提交于 2019-12-10 13:32:33
问题 I have a problem where my xml-da client that is using zsi 2.2.2 library generating messages that look like soap 1.2 messages because I can see this line. xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope" But I also can see text/xml as a content type in header. I can't find any notion of what header should be like in soap 1.2, but I suppose that it should be application/soap-xml. So what it actually should be? 回答1: Content-Type: application/soap+xml 来源: https://stackoverflow.com

Public free web services for testing soap client [closed]

ε祈祈猫儿з 提交于 2019-12-04 07:25:47
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Are there any publicly available SOAP 1.2/WSDL 2.0 compliant free web services for testing a Python based soap client library (e.g. Zolera SOAP Infrastructure)? So far, it appears to me that Google Web API may be the only option. Otherwise, how can one test a SOAP 1.2 compliant client library? 回答1: There is a

Public free web services for testing soap client [closed]

可紊 提交于 2019-12-02 13:53:36
Are there any publicly available SOAP 1.2 / WSDL 2.0 compliant free web services for testing a Python based soap client library (e.g. Zolera SOAP Infrastructure )? So far, it appears to me that Google Web API may be the only option. Otherwise, how can one test a SOAP 1.2 compliant client library? There is a bunch on here: http://www.webservicex.net/WS/wscatlist.aspx Just google for "Free WebService" or "Open WebService" and you'll find tons of open SOAP endpoints. Remember, you can get a WSDL from any ASMX endpoint by adding ?WSDL to the url. 来源: https://stackoverflow.com/questions/311654

Generating a WSDL using Python and SOAPpy

北城余情 提交于 2019-11-28 16:54:57
First of all, I will admit I am a novice to web services, although I'm familiar with HTML and basic web stuff. I created a quick-and-dirty web service using Python that calls a stored procedure in a MySQL database, that simply returns a BIGINT value. I want to return this value in the web service, and I want to generate a WSDL that I can give our web developers. I might add that the stored procedure only returns one value. Here's some example code: #!/usr/bin/python import SOAPpy import MySQLdb def getNEXTVAL(): cursor = db.cursor() cursor.execute( "CALL my_stored_procedure()" ) # Returns a

Generating a WSDL using Python and SOAPpy

风流意气都作罢 提交于 2019-11-27 10:02:29
问题 First of all, I will admit I am a novice to web services, although I'm familiar with HTML and basic web stuff. I created a quick-and-dirty web service using Python that calls a stored procedure in a MySQL database, that simply returns a BIGINT value. I want to return this value in the web service, and I want to generate a WSDL that I can give our web developers. I might add that the stored procedure only returns one value. Here's some example code: #!/usr/bin/python import SOAPpy import