-
-
Notifications
You must be signed in to change notification settings - Fork 604
Closed
Description
- The version of zeep: 4.2.1 (the latest right now)
- The WSDL you are using: Below, in the script.
- Runnable example script:
from zeep import Client
WS_ENDPOINT = 'http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl'
Client(wsdl=WS_ENDPOINT)
client.service.checkVat("FR", 64899439566)
BOOM!
Error during xml -> python translation
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/zeep/xsd/types/simple.py", line 79, in parse_xmlelement
return self.pythonvalue(xmlelement.text)
File "/usr/local/lib/python3.8/site-packages/zeep/xsd/types/builtins.py", line 44, in _wrapper
return func(self, re.sub(r"[\n\r\t ]", " ", value).strip())
File "/usr/local/lib/python3.8/site-packages/zeep/xsd/types/builtins.py", line 213, in pythonvalue
return isodate.parse_date(value)
File "/usr/local/lib/python3.8/site-packages/isodate/isodates.py", line 193, in parse_date
raise ISO8601Error("Unrecognised ISO 8601 date format: %r" % datestring)
isodate.isoerror.ISO8601Error: Unrecognised ISO 8601 date format: '2024-10-11+02:00'
The problem is the 0.7.2 version of isodate
, with 0.6.1 works fine.
Metadata
Metadata
Assignees
Labels
No labels