Questions tagged [soappy]

SOAPy is a SOAP/XML Schema Library for Python.

75 questions
1
vote
2 answers

ModuleNotFoundError: No module named 'version'

I am using Python 3 along with SOAPpy Library in conjunction with my code. I keep getting a "ModuleNotFoundError: No module named 'version'" error when trying to run my code. The error is coming from this specific line within the Library: from…
Code96er
  • 11
  • 1
  • 3
1
vote
1 answer

Installing SOAPpy in Python 3

I'm trying to install SOAPpy library in python 3 . I get the following error "/../Downloads/SOAPpy-0.11.6/SOAPpy/__init__.py", line 3, in from version import __version__ ModuleNotFoundError: No module named 'version' I tried to install…
Natasha
  • 1,111
  • 5
  • 28
  • 66
1
vote
2 answers

what is the type of the variable

I am a very newbie in Python I have the following code: from SOAPpy import WSDL fichier_wsdl = 'http://geocoder.us/dist/eg/clients/GeoCoder.wsdl' wsdl = WSDL.Proxy(fichier_wsdl) callInfo = wsdl.methods['geocode'] ss = wsdl.geocode('1600…
philnext
  • 3,242
  • 5
  • 39
  • 62
1
vote
1 answer

SOAPpy, C# and object passing

I'm trying to write a SOAPpy client to my C# WebService. It is arriving as null :( How can I get any debug from the C# SOAP parser that WebService uses? This is what Python sends:
qdot
  • 6,195
  • 5
  • 44
  • 95
1
vote
2 answers

When using soappy SOAPServer, how do I read the request's headers?

I've got a Python webservice using SOAPpy. The webservice server is structured as shown below: class myClass: def hello(): return 'world' if __name__ == "__main__": server = SOAPServer( ( 'localhost', 8888 ) ) myObject = myClass() …
bkulyk
  • 1,694
  • 2
  • 12
  • 17
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
1 answer

Add Header section to SOAP request using SOAPpy

I need to construct this SOAP query using python SOAPpy module:
Silver Light
  • 44,202
  • 36
  • 123
  • 164
1
vote
2 answers

Turn SSLchecking off in M2Crypto in Python

Is there a way to turn off SSL checking so that WrongHost Exceptions are not generated when using SOAPpy in python.
anijhaw
  • 8,954
  • 7
  • 35
  • 36
1
vote
2 answers

Difficulties installing SOAPpy module

I am very new to python and have been figuring out how to install modules.I have been trying to install the SOAPpy module and have only had success with the required modules fpconst, wstools, and setuptools(not mentioned as required, but still ended…
Jev
  • 11
  • 2
1
vote
1 answer

python soappy add header

I have the following PHP example code: $client = new SoapClient("http://example.com/example.wsdl"); $h = Array(); array_push($h, new SoapHeader("http://example2.com/example2/", "h", "v")); $client->__setSoapHeaders($h); $s =…
dandu
  • 800
  • 1
  • 8
  • 18
1
vote
1 answer

How do I check what requests SOAPpy did?

I need to know what requests SOAPpy did. Does anyone know how to do this?
brunozrk
  • 773
  • 1
  • 7
  • 14
1
vote
1 answer

I have two http requests in my application, but I want only one use 'http_proxy'

I have an aplicattion that makes local requests http. This application also needs to make an external request http. But the server that application is located do not accept external calls. So I created a enviromnet variable 'http_proxy', but it…
brunozrk
  • 773
  • 1
  • 7
  • 14
1
vote
2 answers

Can't call a webservice method using SOAPpy

I am trying to call a webservice using SOAPpy: from SOAPpy import SOAPProxy url = 'http://www.webservicex.net/WeatherForecast.asmx' server = SOAPProxy(url); print server.GetWeatherByPlaceName('Dallas'); print server.GetWeatherByZipCode…
artdanil
  • 4,952
  • 2
  • 32
  • 49
1
vote
0 answers

When I consume wsdl using python, I get an xml.parsers.expat.ExpatError

I followed these instructions to make a local wsdl. Some lines in my local WSDL: < wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"…
longsail
  • 11
  • 5
1
vote
1 answer

python WSDL.Proxy behind a http proxy

I have a simple code that works when I'm not behind any proxy but doesn't work when I am behind a proxy. So is there any way I can specify that the connection has to be made through the http_proxy in the constructor of WSDL.Proxy class? I have been…
prongs
  • 9,422
  • 21
  • 67
  • 105