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

TypeError in SOAP Request (using pysimplesoap)

I'm trying to get relevant information from a SOAP service from the Dutch government land register (WSDL here) with PySimpleSoap. So far I managed to connect and request information about a specific property with the following code: from…
kramer65
  • 50,427
  • 120
  • 308
  • 488
4
votes
3 answers

Are client side certificates supported in App Engine

I am developing a google app engine application, and I need to connect to a webservice using SOAP. I'm using pysimplesoap (patched with the code found here) to parse the xml, and fire a request with a client-side certificate. When I do this in a…
3
votes
5 answers

"AssertionError: write() argument must be a bytes instance" when running WSGISOAPHandler

I have a SOAP server with pysimplesoap in Python 3. Code from wsgiref.simple_server import make_server application = WSGISOAPHandler(dispatcher) wsgid = make_server('', 8008, application) wsgid.serve_forever() I don't know why am I get the…
Jordi Salom
  • 361
  • 2
  • 5
  • 14
3
votes
1 answer

Failed building wheel for simplesoap Python virtualenv

When installing PySimpleSoap on a virtualenv everything seems to work fine, then I get an error message Failed building wheel for pysimplesoap and at the end there is a message Successfully installed pysimplesoap-1.16. Is it an error that can be…
Johan Vergeer
  • 5,208
  • 10
  • 48
  • 105
3
votes
1 answer

How to ignore SSL certificate validation in pysimplesoap

I'm trying to access a web service that uses a self-generated certificate using pysimplesoap and python 2.7.9 from pysimplesoap.client import SoapClient import base64 username = 'webuser' password = 'webpassword' base64string =…
576i
  • 7,579
  • 12
  • 55
  • 92
3
votes
1 answer

how to extract specific info from Soap response in Python (pysimplesoap)

I'm starting to code in python using pysimplesoap. Testing first against a service available on Internet. I'm stuck trying to parse the result of the Soap query. I coded: #!/usr/bin/python from pysimplesoap.client import SoapClient import…
Georges Dev
  • 43
  • 1
  • 5
2
votes
1 answer

How to construct SOAP message with pysimplesoap?

I'm trying to call a SOAP service from the Dutch government land register (WSDL here) with PySimpleSoap. So far I did this to connect: from pysimplesoap.client import SoapClient client =…
kramer65
  • 50,427
  • 120
  • 308
  • 488
2
votes
2 answers

Send SOAP Request with Django

First time using SOAP and wondering how can I make a simple SOAP request using django? I haven't yet tried setting up pysimplesoap, I first just want to make a connection to the webservice. I have a string of the XML header and body xml_header =…
user2954587
  • 4,661
  • 6
  • 43
  • 101
2
votes
1 answer

WSDL slow to load with SUDS

We are implementing a new billing system with Vindicia. Vindicia has a great wsdl file that makes it easy to create a module with. So we are SUDS. But the problem is that SUDS is really slow at loading those wsdl. (In our case it takes up to 2.4…
Andrée B
  • 127
  • 7
2
votes
0 answers

Formatting functions correctly for pysimplesoap server

I'm trying to build a SOAP server for an existing SOAP client. I have a simple function working fine that just returns a string. Now I'm building a more complex function and I get no SOAP response sent, when I watch traffic with Wireshark. Here is…
Malcolm Crum
  • 4,345
  • 4
  • 30
  • 49
2
votes
1 answer

python soap client library

There's a service in internet that i want to query with SOAP protocol. When searching for SOAP libraries for Python this post was informative: https://stackoverflow.com/a/206964. But none of libraries that i tried worked for this specific service. I…
jeremiah
  • 81
  • 2
  • 7
1
vote
0 answers

pysimpleSOAP response contains only a part of the call

I'm having trouble to find a way to receive the whole response inside the response variable. The purpose of this code is to acces throught a webservice of a marketplace and get all order with a particuliar status then parse the response for the…
Andronaute
  • 379
  • 3
  • 12
1
vote
0 answers

How to create a soap server to expose an api using pysimplesoap on django

I am new to django. I would like to know how to exopse my django application api as soap service to my client using pysimplesoap. Any help is appreciated.
1
vote
1 answer

pysimplesoap for base64Binary

This is my code: from pysimplesoap.client import SoapClient,SimpleXMLElement client = SoapClient(wsdl='urlToMyWsdl?wsdl') print client.help("myMethod") client.myMethod(arg0='mystring', arg1='thisCauseMeError') the help function prints: …
antonio
  • 477
  • 7
  • 18
1
vote
0 answers

Calling a ComplexType as a function in PySimpleSoap

Given the following PHP which returns a valid Soap/XML Response: $params = new StdClass(); $params->subRequest = new StdClass(); $params->subRequest->endCSN = "0212341234"; $client = new SoapClient($WSDL); $response =…
jamesk5
  • 136
  • 3
  • 13
1
2 3