When initialising a Zeep client like so
url = 'http://www.filmratings.com/Filmratings_CARA/WebCaraSearch/Service.asmx?wsdl'
client = Client(wsdl = url)
I get the error message
XMLSyntaxError: Invalid XML content received (Opening and ending tag mismatch: p line 122 and ul, line 124, column 20)
I have tried solutions mentioned here but have had no success. I have a feeling that I need to change the way the XML parser works by some parameter but I am unsure since I am new to using this library.
Overview
#1 Check WSDL
Open Browser to access this URL
Should be displayed XML content
#2 Get function list
SoapUI Open Source
Paste the WSDL URL in here then press OK
You can get the function list
#3 Test function
Clicked one of function
Then click Request1
Supermanfor<cara:search>1978for<cara:year>Then press ▶
And Click
XMLtab in next panel That is result of function call#4 Test zeep
Same function by
zeepSave astest-function.pyfile nameYou should be install dependency before run it.
Run it
Result
#5 Data convert
Will print XML and extract key/value as JSON format data.
Result