SOAPy is a SOAP/XML Schema Library for Python.
Questions tagged [soappy]
75 questions
100
votes
1 answer
Public free web services for testing soap client
Are there any publicly available SOAP 1.2/WSDL 2.0 compliant free web services for testing a Python based soap client library (e.g. Zolera SOAP Infrastructure)?
So far, it appears to me that Google Web API may be the only option.
Otherwise, how can…

bhadra
- 12,887
- 10
- 54
- 47
24
votes
2 answers
Introspecting a WSDL with Python Zeep
I am attempting to use Zeep to describe the operations and types in a given WSDL, so that a program knows the operation names, their parameter names, the parameter types, and parameter attributes.
This info will be used to dynamically generate a UI…

jesse_galley
- 1,676
- 4
- 18
- 30
14
votes
3 answers
Generating a WSDL using Python and SOAPpy
First of all, I will admit I am a novice to web services, although I'm familiar with HTML and basic web stuff. I created a quick-and-dirty web service using Python that calls a stored procedure in a MySQL database, that simply returns a BIGINT…

m0j0
- 3,484
- 5
- 28
- 33
8
votes
5 answers
Why the trailing slash in the web service is so important?
I was testing a web service in PHP and Python. The address of the web service was, let's say, http://my.domain.com/my/webservice. When I tested the web service in PHP using that URL everything worked fine. But, when I used the same location but in…

czuk
- 6,218
- 10
- 36
- 47
7
votes
3 answers
Has anyone combined soap.py or suds with python-ntlm?
I'd like to replace an app's current (badly busted and crufty) cURL-based (cURL command-line based!) SOAP client with suds or soap.py. Trouble is, we have to contact an MS CRM service, and therefore must use NTLM. For a variety of reasons the NTLM…

Chris R
- 17,546
- 23
- 105
- 172
7
votes
2 answers
How to make a SOAP request by using SOAPpy?
I'm trying to call a method using a SOAP request by using SOAPpy on Python 2.7. The method is called GetCursOnDate and returns exchange rates. It takes a date parameter.
I'm using the following code:
from SOAPpy import SOAPProxy
import…

Leo
- 1,787
- 5
- 21
- 43
6
votes
1 answer
TypeError: initial_value must be unicode or None, not str,
I am using SOAPpy for soap wsdl services. I am following this toturail. My code is as follow
from SOAPpy import WSDL
wsdlfile = 'http://track.tcs.com.pk/trackingaccount/track.asmx?WSDL'
server = WSDL.Proxy(wsdlfile)
I am getting this error on the…

Mahammad Adil Azeem
- 9,112
- 13
- 57
- 84
5
votes
1 answer
How can I pass a SSL certificate to a SOAP server using SOAPpy / Python
I am building a script to access a HTTPS/TLS TCP site that requires a X.509 certifcate that I have as a .pfx file.
I am using SOAPpy 0.12.5 and Python 2.7 and have started off with code as below,
import SOAPpy
url = "192.168.0.1:5001"
server =…

KermitG
- 434
- 5
- 16
4
votes
1 answer
Complex Type issue with SOAPpy
I'm trying to access a function defined in my WSDL from HP Server Automation, I'm able to get servers/etc, but not able to pull anything that takes a server reference specifically via SOAPpy.
import SOAPpy
from SOAPpy import WSDL
from SOAPpy import…

Kurt Telep
- 721
- 1
- 5
- 9
4
votes
1 answer
How do I set XML attributes in SOAPpy with python?
I am forming a SOAPpy request but I can't figure out how to set the attributes in a tag. Here is my code:
url = wsdlfile = 'https://stats2.overture.com/ExternalSOAP/statsPMCAPI_1_0.wsdl'
n = 'urn:yahoo:overture:stats:3.0'
server =…

Jason
- 83
- 8
3
votes
1 answer
Soap get arguments with wrong order in twisted
Now i use twisted.soap to build my soap server, I'd like to build a function with plural arguments like this:
def soap_searchFlight(self,name=None,startpoint=None,destination=None):
d=Deferred()
d.addCallback(functions.searchFlight)
…

Daemoneye
- 107
- 2
- 10
3
votes
1 answer
Enable Verbose Logging in SOAPpy
How does one enable some sort of verbose output and/or logging in a SOAPpy client? This is so that I can diagnose some rather odd issues that cause the web service call to block execution without any sort of exception or crash.

Zoran Pavlovic
- 1,166
- 2
- 23
- 38
3
votes
2 answers
SOAPpy - reserved word in named parameter list
I'm using SOAPpy to access a SOAP Webservice. This call to the function findPathwaysByText works just fine:
server.findPathwaysByText (query= 'WP619', species = 'Mus musculus')
However, this call to the function login does not:
server.login…

amarillion
- 24,487
- 15
- 68
- 80
3
votes
1 answer
Soap call in Python
I tried to call a soap service. My call is success but its returns empty value.Below i attached my soap request and response schema. Its takes 1d array as input and return that array.
Request Schema

Milin
- 235
- 3
- 6
- 12
3
votes
1 answer
namespaces in SOAPpy not working as expected
I'm having an issue correctly interfacing with a SOAP API running on Axis2:
What happens is I should call the login method with two arguments (loginName and password) and it returns an authentication token that I will use for subsequent…

Tyler D
- 584
- 1
- 5
- 16