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

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

I am running into this error. Could someone suggest what's wrong here? Traceback (most recent call last): File ".\move2ready.py", line 318, in main() File ".\move2ready.py", line 268, in main success = moveToReady(prism, cr,…
user1795998
  • 4,937
  • 7
  • 23
  • 23
0
votes
2 answers

Suds write request missing datatype?

I am trying to communicate to a webservice using Suds, reading from the service works fine, however writing throws an error. suds.WebFault: Server raised fault: 'The formatter threw an exception while trying to deserialize the message: There was…
takilara
  • 108
  • 6
0
votes
1 answer

Extracting data from python wsdl client using suds

I have created the following Python code that reads a method from a webservice: def GetWeatherParameters(): """""" client = Client('www.address.asmx?wsdl') #WebServiceClient.GetWeatherParameters() return client.service.GetWeatherParameters() It…
user1810659
  • 221
  • 2
  • 7
  • 18
0
votes
1 answer

Python+SUDS: request as encoding string(base64)

I'm trying to create a client in Python, which would communicate with the web service(NuSoap). Identification data and the query is sent in XML as encoding string(base64). This XML is:
Bohdan
  • 23
  • 4
0
votes
1 answer

can I call a method in suds dynamically

Firstly ... I'm new in python and suds.. Now I wanna dynamically call a method provided by an unknown webService I do not know what services it provides beforehand the normal way to call a method I know is like…
0
votes
3 answers

pass python list to ladon using suds

I want to send a python list to my ladon service. Consider the following python list lst_col_title = [(1, 'Column1', 10, 'L'),(2, 'Column2', 15, 'L'),(3, 'Column3', 15, 'L'),(4, 'Column4', 10, 'L'),(5, 'Column5', 10, 'L')] Is their any possible way…
SKT
  • 83
  • 1
  • 10
0
votes
1 answer

Passing data between threads in Python

I have a Tornado web server running several web services. I need one of the operations in Service A to call an operation on Service B. I'm using Suds to make this call to Service B. At the moment everything hangs unless I put the Suds call into a…
johnharris85
  • 17,264
  • 5
  • 48
  • 52
0
votes
1 answer

How to install suds 0.4 on windows without Internet connection

I need to install suds (and other Python modules) on a windows machine without Internet connection (use ftp to move the software to the machine). In another thread, I was advised to get the source (.gz or .zip), unzip it on the machine, then install…
0
votes
2 answers

Create multiple suds clients pointing to the same wsdl

Opening up IDLE and importing the suds Client, I can create a client by: c = Client('http://blah/Core.svc?wsdl') Subsequently calling: c2 = Client('http://blah/Core.svc?wsdl') will get me a TypeNotFound error being thrown, naming a class in the…
Peter
  • 1,381
  • 2
  • 13
  • 24
0
votes
3 answers

Including a Python Library (suds) in a portable way

I'm using suds (brilliant library, btw), and I'd like to make it portable (so that everyone who uses the code that relies on it, can just checkout the files and run it). I have tracked down 'suds-0.4-py2.6.egg' (in python/lib/site-packages), and put…
Peter
  • 1,381
  • 2
  • 13
  • 24
0
votes
1 answer

python unable to access suds methods

I am trying to access the SOAP api using SUDS in python from suds.client import Client def initialize(): url = 'http://uuuuuuuuuuuuuuu.com/wewewe/WsNBI?wsdl' username = 'xxxxx' password = 'ppppppp' client = Client(url) print…
krisdigitx
  • 7,068
  • 20
  • 61
  • 97
0
votes
1 answer

Python soaplib "Hello World" program - Parameters and types not showing up on client

I'm attempting to run the soaplib Hello World program: import soaplib from soaplib.core.service import rpc, DefinitionBase from soaplib.core.model.primitive import String, Integer from soaplib.core.server import wsgi from soaplib.core.model.clazz…
user1401321
  • 111
  • 12
0
votes
1 answer

How to translate suds call from php to python

I have an example code in php: $conditions = Array( "status_id" => "1" ); $params = Array( "method" => "call", "params" => Array($session, "order.list.filter", Array($conditions, "order_id", 10) ) and I can't…
0
votes
1 answer

Python SUDS unicode decode error returned from Webservice

I am attempting to use a Webservice created by one of our developers that allows us to upload files into the system, within certain restrictions. Using SUDS, I get the following information: Suds ( https://fedorahosted.org/suds/ ) version: 0.4 GA …
0
votes
1 answer

Ebay SOAP error returning "Missing SOA operation name header"

I'm trying to make some requests on the eBay's webservice using python's suds, but I always get this error: "Missing SOA operation name header" The code I use is as follows: client = Client(EBAY_WSDL) ns1 = ('ns1',…
brunodea
  • 220
  • 1
  • 10