Closed GoogleCodeExporter closed 8 years ago
The SoapFault says there is a problem with the namespace parsed from WSDL.
I will look it ASAP.
You can use this workaround in the meantime:
client = SoapClient(
location = "http://ec.europa.eu/taxation_customs/vies/services/checkVatService",
action = '',
namespace = "urn:ec.europa.eu:taxud:vies:services:checkVat:types",
trace = True
)
vat = 'BE0897290877'
code = vat[:2]
number = vat[2:]
res = client.checkVat(countryCode=code, vatNumber=number)
print res('countryCode')
print res('vatNumber')
print res('name')
print res('address')
This works because it set manually correct namespace from WSDL.
Original comment by reingart@gmail.com
on 13 Sep 2010 at 3:32
Fixed in recent commits (revision a823096e2b)
See attached example.
Original comment by reingart@gmail.com
on 27 Sep 2010 at 1:55
Attachments:
Original issue reported on code.google.com by
smog...@gmail.com
on 13 Sep 2010 at 2:23