SOAP Python clients won't work with this WSDL
So far, I've tried to access this WSDL:
https://login.azoogleads.com/affiliate/tool/soap_api
from two common Python SOAP clients that I know of: SOAPpy and ZSI.client.Binding. SOAPpy raises an exception in PyXML (xml.parsers.expat.ExpatError: malformed (invalid token)), and ZSI raises an exception in urlparse.
I hope that:
1.) I am using these libraries incorrectly (usage below)
or
2.) There is another SOAP library that I am not aware of will be able to handle this
Here's my use of the libraries:
from ZSI.client import Binding
b = Binding('https://login.azoogleads.com/affiliate/tool/soap_api/')
hash = b.authenticate('should', 'get', 'authenticationfailurefromthis')
and
import SOAPpy
b = SOAPpy.WSDL.Proxy('https://login.azoogleads.com/affiliate/tool/soap_api/')
hash = b.authenticate('any', 'info', 'shoulddo')
+2
source to share