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

pysimplesoap - RuntimeError: No scheme given for url

My first attempt at using pysimplesoap (and my first attempt at soap) code from pysimplesoap.client import SoapClient j_location = 'http://api.jasperwireless.com/ws/schema' j_xsd = 'http://api.jasperwireless.com/ws/schema/JasperAPI.xsd' j_echo_wsdl…
michael
  • 2,577
  • 5
  • 39
  • 62
0
votes
2 answers

Get status code for request sent using pysimplesoap

I'm using Pysimplesoap for sending a data to the web-service. I want to know the status of the request code. I'm able to print a traceback using trace=True. Over there it does prints the status code and other response variables but how do I get the…
Praful Bagai
  • 16,684
  • 50
  • 136
  • 267
0
votes
2 answers

pysimplesoap web service return connection refused

I've created some web services using pysimplesoap like on this documentation: https://code.google.com/p/pysimplesoap/wiki/SoapServer When I tested it, I called it like this: from SOAPpy import SOAPProxy from SOAPpy import Types namespace =…
jdicarreira
  • 159
  • 2
  • 13
0
votes
1 answer

How do you setup a pysimplesoap server to run on apache2 with wsgi?

I have a soap server which I have been running as a stand-alone application i.e. by just simply executing python mysoapserver.py However, I would like it to be accessed via apache2 using wsgi. Below are some code excerpts of the current code: The…
Phil
  • 2,859
  • 5
  • 20
  • 21
0
votes
1 answer

How to set minOccurs="0" or nillable="true" to wsdl element by using of python module with name "pysimplesoap"

We use pysimplesoap module for writting of services. Clients were written on Java. There are problems with convertation of xml datatype to java. I suppose, we need to set minOccurs="0" or nillable="true" to wsdl elements. But in pysimplesoap file…
yavalvas
  • 330
  • 2
  • 17
0
votes
1 answer

Problems to authenticate correctly with pysimplesoap

I'm trying to use pysimplesoap to communicate with the Websitepanel SOAP-API. The WebsitePanel API Introduction says: For interacting with WebsitePanel API you should use Basic Authentication. WebsitePanel recognizes “Authorization” header with…
Subito
  • 227
  • 3
  • 12
0
votes
0 answers

Python grabbing big-5 string from SOAP

I'm trying to access a soap service with WSDL: http://taqm.epa.gov.tw/taqm/DataService.asmx?WSDL Using pysimplesoap #!/usr/bin/python from codecs import Codec from pysimplesoap.client import SoapClient url =…
huggie
  • 17,587
  • 27
  • 82
  • 139
-1
votes
1 answer

How can I add header to SOAP with pysimplesoap?

I have this scheme:
faoxis
  • 1,912
  • 5
  • 16
  • 31
1 2
3