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
0
votes
1 answer

How to monkeypatch the suds.transport.Reply?

I have been trying to modify the Reply class of suds.transport. I tried with the following approach: import suds.transport old_reply = suds.transport.Reply class Reply2: """ A transport reply @ivar code: The http code returned. …
taper
  • 9,236
  • 5
  • 28
  • 29
0
votes
2 answers

Python suds - Recursion error in wsdl.py

I am currently writing a Python script using the suds package to connect to a new client. When I call suds.Client with the url, I get a recursion error: RuntimeError: maximum recursion depth exceeded while pickling an object File…
Mike Driscoll
  • 32,629
  • 8
  • 45
  • 88
0
votes
1 answer

suds.webfault with script but not commandline

I'm using Python 2.7 on Ubuntu 13.04. I need to hit a SOAP API and have run into a problem when trying to hit one of the services. Here is the wsdl url: http://www.educationconnection.com/ecsleadapi/version4_1/service.svc?wsdl If I type the…
Rico
  • 5,692
  • 8
  • 46
  • 63
0
votes
1 answer

Python: VMware Object data

How does one get all the property values from an object. For example a method returned me an object, but when I print it out there's only type and value displayed. For example I've got an ManagedObjectReference of Task named obj. If I write print…
Linas
  • 560
  • 1
  • 5
  • 16
0
votes
1 answer

Python suds.TypeNotFound at Exchange EWS 2010

I'm just trying to access Exchange Web Services (EWS) 2010 with Python using Alex Koshelev’s EWS-specific fork of suds (can be found on BitBucket). I found the basic Code for accessing EWS here and it is working fine so far. However when I try to…
0
votes
2 answers

Python Suds Soap Client Error

I am trying to connect to a web service using Python/SUDS. I have the following code in a single file and I am able to connect successfully and I receive a response. class Suds_Connect: def __init__(self, url, q_user, q_passwd): …
Nollaig
  • 1,097
  • 2
  • 12
  • 26
0
votes
1 answer

ascii error in python serializing a file for SOAP

I'm working on a soap wrapper for an API (i know REST exists... it's a project in my job), I'm using SUDS library for that. I found this question and the answer helped me a lot. After trying a couple of things and modified a little bit the script…
iferminm
  • 2,019
  • 19
  • 34
0
votes
1 answer

Python Pyramid & suds - what is the correct way to design my Pyramid web app to connect to a SOAP service?

I have a web app that has been built using the Pyramid framework. I would like to add functionality to connect to a SOAP API. For this I have successfully been able to use the suds library. When using suds, I first create a client as follows: from…
tadasajon
  • 14,276
  • 29
  • 92
  • 144
0
votes
2 answers

Netsuite Webservices (Python) fault

This is my first question on SO. I am a beginner to Netsuite. I see out of box only PHP and Java are supported. I personally dislike both. I would like to use Python. I have used SUDS a few times for other work and thought it was ok, but not great.…
0
votes
1 answer

SUDS SOAP "dependancies suds.TypeNotFound: Type not found" Error

I'm using SUDS WSDL(SOAP) web services at GAE python. & trying to consume this 46.51.221.138/PBExternalServices/v1/soap?wsdl. Here is Py code: from suds.client import Client client = Client(url) print client But its throwing some error at console…
Niks Jain
  • 1,617
  • 5
  • 27
  • 53
0
votes
1 answer

how consume via Suds a webservice that expose wsdl via https and service via http

I've a strange situation to solve (imho) I've to consume a web service who has the wsdl via https and the service via http. How I can "switch" on-the-fly (in Suds) to http only for the service? Thank's
Vito
  • 1,201
  • 1
  • 10
  • 16
0
votes
1 answer

Suds can't parse new wsdl file

I have a Python script that work with some third-party software through SOAP interface using suds 0.4.1-3.el6. Everything worked until a recent update of the software. Now all scripts like: #!/usr/bin/python # -*- coding: UTF-8 -*- # import…
brammator
  • 293
  • 2
  • 10
0
votes
1 answer

How to pass multiple variables as SUDS data in python?

Usually, I use dicts to call soap methods: SoapData = {'id':'1', 'nya':'meow'} Check ('SoapMethodName', SoapData) It creates something like this: 1 meow That works fine. But sometimes I need something…
0
votes
1 answer

Exception while performing a SOAP request using suds in python

I am accessing our jira system to get some information through SOAP. They updated the jira system lately and I started seeing some problems. The problem is very well known but I couldn't wrap head around the solution which was posted. File…
Shawn
  • 111
  • 1
  • 2
  • 5
0
votes
0 answers

suds.TypeNotFound: Type not found:'ns4.SaveCRRequest'

Does anyone have inputs on how to debug or overcomes this error? Traceback (most recent call last): File ".\move2ready.py", line 318, in main() File ".\move2ready.py", line 268, in main success = moveToReady(prism, cr, pl_name) …
user1795998
  • 4,937
  • 7
  • 23
  • 23