Questions tagged [suds]

Suds is a SOAP services library for Python & JavaScript.

Suds is a SOAP services library for Python & JavaScript.
Suds leverages python meta programming to provide an intuative API for consuming web services. Runtime objectification of types defined in the WSDL is provided without class generation.

678 questions
75
votes
3 answers

What SOAP libraries exist for Python 3.x?

I searched the web for an existing and supported SOAP library for Python 3. (both client and server) Here the list of libraries I've found: Python 2: Zeep: active and well documented in Python 2.7/3 SOAPy: discontinued Python 2 project ZSI:…
gecco
  • 17,969
  • 11
  • 51
  • 68
65
votes
1 answer

Python sign SOAP request using BinarySecurityToken

I'm trying to sign a SOAP request with a certificate using python. I've tried python-zeep and its Signature methods and suds with py-wsse. Both don't give me the expected result. Zeep gives me:
pawni
  • 761
  • 5
  • 3
64
votes
4 answers

Python SOAP Client - use SUDS or something else?

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…
circus
  • 2,470
  • 3
  • 21
  • 25
50
votes
7 answers

How can I output what SUDs is generating/receiving?

I have the following code: from suds.client import Client import…
alfredo
  • 961
  • 3
  • 10
  • 11
42
votes
3 answers

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

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. …
Thierry Lam
  • 45,304
  • 42
  • 117
  • 144
40
votes
8 answers

suds install error: no module named client

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 "", line 16, in File…
lukik
  • 3,919
  • 6
  • 46
  • 89
31
votes
5 answers

Suds over https with cert

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:…
Andrey Koltsov
  • 1,956
  • 6
  • 24
  • 43
23
votes
8 answers

SUDS - programmatic access to methods and types

I'm investigating SUDS as a SOAP client for python. I want to inspect the methods available from a specified service, and the types required by a specified method. The aim is to generate a user interface, allowing users to select a method, then…
GHZ
  • 3,365
  • 4
  • 24
  • 28
21
votes
1 answer

SOAP MTOM calls with Python

I'm currently working on a web toolkit in python and I have to make a lot of SOAP calls. Unfortunately for me, a couple of those calls use MTOM. I'm currently using SUDS and I would like to know if it's possible to do MTOM calls with it (I can't…
Pamput
  • 2,634
  • 2
  • 16
  • 16
20
votes
7 answers

Serializing a suds object in python

Ok I'm working on getting better with python, so I'm not sure this is the right way to go about what I'm doing to begin with, but here's my current problem... I need to get some information via a SOAP method, and only use part of the information now…
jeffff
  • 1,309
  • 1
  • 7
  • 23
16
votes
3 answers

SOAP suds and the dreaded schema Type Not Found error

I'm using the latest version of suds (https://fedorahosted.org/suds/) for the first time and I'm getting stalled at step one. suds.TypeNotFound: Type not found: '(schema, http://www.w3.org/2001/XMLSchema, )' Now, I know this is well covered ground…
dpjanes
  • 5,745
  • 3
  • 25
  • 30
15
votes
1 answer

How to pass SOAP headers into python SUDS that are not defined in WSDL file

I have a camera on my network which I am trying to connect to with suds but suds doesn't send all the information needed. I need to put extra soap headers not defined in the WSDL file so the camera can understand the message. All the headers are…
chrisg
  • 40,337
  • 38
  • 86
  • 107
15
votes
2 answers

XML differences between WCF and Python SUDS for inheritance?

I have a question regarding the different ways inheritance are represented between WCF and SUDS (Python). I have a C++/CLI WCF server (.NET 3.5 SP1) and I'm trying to communicate with it. I've used a C# (WCF also) client and it work fine, but…
Paul Navin
  • 151
  • 3
14
votes
3 answers

Can you help me solve this SUDS/SOAP issue?

So I'm trying to access this api https://www.clarityaccounting.com/api-docs/ using SUDS. Here is the code that should work: from suds.client import Client client = Client('https://www.clarityaccounting.com/api/v1?wsdl') token =…
sheats
  • 33,062
  • 15
  • 45
  • 44
14
votes
4 answers

Error Handling in Python with SUDS

I have been trying to control a camera through a wsdl file using SUDS. I have got the code working but I want to place error handling into the script. I have tried different exceptions but am unable to get the script working. When I enter an invalid…
chrisg
  • 40,337
  • 38
  • 86
  • 107
1
2 3
45 46