Questions tagged [pysimplesoap]

PySimpleSOAP - Python Simple SOAP library for client and server web-services interfaces, aimed to be as small and easy as possible, supporting most common functionality.

PySimpleSOAP - Python Simple SOAP library for client and server web-services interfaces, aimed to be as small and easy as possible, supporting most common functionality.

Goals:

  • Simple: less than 200LOC client/server concrete implementation for easy maintainability and enhancments.
  • Flexible: adapted to several SOAP dialects (Java Axis, .Net, JBoss), with the posibility of fine-tuning XML request and responses;
  • Pythonic: no artifacts, no class generation, no special types, RPC calls parameters and return values are simple python structures (dicts, list, etc.);
  • Dynamic: no definition (WSDL) required, dynamic generation and parsing supported (cached in a pickle file for performance, supporting fixing broken WSDL);
  • Easy: simple xml manipulation, including basic serialization and raw object-like access to SOAP messages;
  • Extensible: supports several HTTP wrappers (httplib2, pycurl, urllib2) for special transport needs over SSL and proxy (ISA);
38 questions
1
vote
0 answers

Using pysimplesoap to call ladonize SOAP example. Getting the syntax right

I'm trying to call the calculator example from ladonize.org using this code. I managed to get pysimplesoap to work with other external soap services and am trying to roll out my own soap service using ladon / python 2.7 The SOAP service works when…
576i
  • 7,579
  • 12
  • 55
  • 92
1
vote
1 answer

How to pass value to method of wsdl client using pysimplesoap

from pysimplesoap.client import SoapClient client = SoapClient(wsdl="https://platform.mediamind.com/Eyeblaster.MediaMind.API/V2/AuthenticationService.svc?wsdl") auth_token = client.ClientLogin(username = 'user', password = 'pass', …
sagar
  • 1,375
  • 5
  • 20
  • 38
1
vote
1 answer

How to introspect into SOAP data types?

Having never worked with SOAP before, I'm now trying to follow this tutorial to find out about the SOAP service of the Dutch government land register (kadaster.nl): >>> from SOAPpy import WSDL >>> server =…
kramer65
  • 50,427
  • 120
  • 308
  • 488
1
vote
0 answers

Calling function with PySimpleSOAP

I'm trying to invoke a function using a web service that seems to work fine using SoapUI, but not with pysimplesoap. The WSDL has this function: Name: getAvailableDates Input {'getAvailableDates': {u'criteria': {u'id': ,…
Abid A
  • 7,588
  • 4
  • 32
  • 32
1
vote
1 answer

python response does not match with soapUI

When I access the web service using soapUI I get the correctly formatted text. But when I use the python code, I get a dictionary with all rows in a single allBusType key. from pysimplesoap.client import SoapClient url =…
shantanuo
  • 31,689
  • 78
  • 245
  • 403
1
vote
1 answer

Cannot get any log information from pysimplesoap

I'm trying to use pysimplesoap (v.1.10) and getting what appears to be some kind of parsing error when executing a method request. Stripped down version: import pysimplesoap soapURL = "https://site/path/to/soap" namespace =…
user29021
  • 65
  • 1
  • 5
1
vote
0 answers

How Do I Coax PySimpleSOAP to Form Requests like PHP's SoapClient?

I'm writing a series of scripts to automate tasks on ISPConfig, the web hosting console. Which you don't need to know about, really, because this question's about forming XML. For ... reasons ... I want to accomplish this task in Python rather than…
Todd Howe
  • 77
  • 1
  • 7
1
vote
0 answers

IIS 7.5 Python2 PySimpleSoap Timeout

I am running a Python(v2.7.8) web application (with) on IIS 7.5 (via wsgi). In that application I request an other server with pySimpleSOAP. Sometimes when the action on the requested server takes to long, a timeout error occurs. Does anybody know…
Erik Mandke
  • 1,577
  • 3
  • 23
  • 30
1
vote
0 answers

PysimpleSOAP - invalid args structure

I encountered problem with calling webservice method, I have client = SoapClient(wsdl="address") countries = {'countryCode':1, 'webapiKey':'apiKey'}; client.doGetCountries(**countries) but I'm getting error ValueError: Invalid Args Structure.…
adaniluk
  • 321
  • 1
  • 5
  • 18
1
vote
1 answer

CORS with pysimplesoap server

I am using pysimplesoap APIs to support a SOAP server with the following code : httpd = BaseHTTPServer.HTTPServer(("", 8008), SOAPHandler) httpd.dispatcher = dispatcher httpd.serve_forever() This works well, but not if requests are generated using…
user730936
  • 139
  • 1
  • 8
1
vote
1 answer

How to extract SOAP response using pysimplesoap?

I am new on using pysimplesoap. I am succeed using pysimplesoap to generate a soap request to a SOAP server, and the soap server is responded correctly, however, I do not know how to extract the information returned. This is my code on pysimplesoap…
user1087418
  • 47
  • 1
  • 6
0
votes
1 answer

pysimplesoap Cannot determine service in WSDL: SOAP version: soap11

I created a simple web service and consumed it with pysimplesoap. Then I added ssl to the service(self signed) and tried to do the same but I am getting the error: RuntimeError: Cannot determine service in WSDL: SOAP version: soap11 This is my…
Tadej Vengust
  • 1,351
  • 4
  • 18
  • 35
0
votes
0 answers

SONOS - rateItem - Not triggering "Operation failed"

Clicking on either of the rating buttons on my SONOS app causes an "Operation failed" error to appear and I don't know why. Everything else about the app works as expected except for that. Here is the code for my rate item function. I'm using the…
terratunaz
  • 614
  • 3
  • 9
  • 19
0
votes
1 answer

PySimpleSoap and wsdl

I'm trying to integrate with the following web service: http://demo.eu.yellowfin.com.au/services/AdministrationService?wsdl unfortunately I haven't found any information about pysimplesoap that can help me to figure out how I can make a request…
shipperizer
  • 1,641
  • 1
  • 13
  • 19
0
votes
1 answer

Using wsdl in pysimplesoap

Not able to view debugged output and when tried with trace, gives an error:init() got an unexpected keyword argument 'trace'