pysimplesoap

TypeError in SOAP Request (using pysimplesoap)

半腔热情 提交于 2019-12-18 05:49:15
问题 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 pysimplesoap.client import SoapClient client = SoapClient(wsdl='http://www1.kadaster.nl/1/schemas/kik-inzage/20141101/verzoekTotInformatie-2.1.wsdl', username='xxx', password='xxx', trace=True) response = client.VerzoekTotInformatie( Aanvraag={ 'berichtversie

How to introspect into SOAP data types?

霸气de小男生 提交于 2019-12-11 04:48:57
问题 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 = WSDL.Proxy('http://www1.kadaster.nl/1/schemas/kik-inzage/20141101/verzoekTotInformatie-2.1.wsdl') /Library/Python/2.7/site-packages/wstools/XMLSchema.py:1280: UserWarning: annotation is ignored warnings.warn('annotation is ignored') /Library/Python/2.7/site-packages/wstools/XMLSchema.py

How to construct SOAP message with pysimplesoap?

心已入冬 提交于 2019-12-03 14:08:35
问题 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 = SoapClient(wsdl='http://www1.kadaster.nl/1/schemas/kik-inzage/20141101/verzoekTotInformatie-2.1.wsdl') and with the help of an awesome answer by Plamen Petrov I now understand I need to send the xml below using the client.VerzoekTotInformatie() method. What I do not understand however, is how I can get the

How to construct SOAP message with pysimplesoap?

巧了我就是萌 提交于 2019-12-03 04:02:58
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 = SoapClient(wsdl='http://www1.kadaster.nl/1/schemas/kik-inzage/20141101/verzoekTotInformatie-2.1.wsdl') and with the help of an awesome answer by Plamen Petrov I now understand I need to send the xml below using the client.VerzoekTotInformatie() method. What I do not understand however, is how I can get the desired XML (see below). I can of course build it manually, but I've got the feeling that there is a