suds

suds install error: no module named client

suds install error: no module named client Question: Trying to install suds with pip-3.2 and it fails with the error sudo pip-3.2 install suds Downloading/unpacking suds Running setup.py egg_info for package suds Traceback (most recent call last): File “<string>”, line 16, in <module> File “/tmp/pip-build/suds/setup.py”, line 20, in <module> import suds File “suds/__init__.py”, line 154, …

Total answers: 8

Python SOAP Client – use SUDS or something else?

Python SOAP Client – use SUDS or something else? Question: I am currently looking into implementing a client which will use an existing extensive SOAP management API. I looked into different SOAP implementations like pysimplesoap and SUDS. While the first had problems parsing the WSDL because of too much recursions, suds worked fine (but slow) …

Total answers: 4

Suds over https with cert

Suds over https with cert Question: I have soap service under Apache with ssl, suds works greate without ssl. I have client certificate (my.crt and user.p12 files). How I need to configure suds client ot make it work with service over https? without certs i see urllib2.URLError: <urlopen error [Errno 1] _ssl.c:499: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert …

Total answers: 5

suds and choice tag

suds and choice tag Question: how to generate request to method with “choice” arguments? part of wsdl at http://127.0.0.1/service?wsdl: <xs:complexType name=”ByA”> <xs:sequence> … </xs:sequence> </xs:complexType> <xs:complexType name=”ByB”> <xs:sequence> … </xs:sequence> </xs:complexType> <xs:complexType name=”GetMethodRequest”> <xs:choice> <xs:element name=”byA” type=”s0:ByA” /> <xs:element name=”byB” type=”s0:ByB” /> </xs:choice> </xs:complexType> when I do from suds.client import Client client = Client(“http://127.0.0.1/service?wsdl”) print …

Total answers: 3

Is it possible to use python suds to read a wsdl file from the file system?

Is it possible to use python suds to read a wsdl file from the file system? Question: From suds documentation, I can create a Client if I have a url for the WSDL. from suds.client import Client url = ‘http://localhost:7080/webservices/WebServiceTestBean?wsdl’ client = Client(url) I currently have the WSDL file on my file system. Is it …

Total answers: 3