これまでのところ、この WSDL にアクセスしようとしました。
https://login.azoogleads.com/affiliate/tool/soap_api
私が知っている 2 つの一般的な Python SOAP クライアントから: SOAPpy と ZSI.client.Binding. SOAPpy は PyXML で例外を発生させ (xml.parsers.expat.ExpatError: 整形式ではありません (無効なトークン))、ZSI は urlparse ライブラリで例外を発生させます。
私が望んでいるのは:
1.) これらのライブラリを間違って使用しています (以下の使用法)
また
2.) これを処理できる、私が知らない別の SOAP ライブラリがあります。
ライブラリの私の使用法は次のとおりです。
from ZSI.client import Binding
b = Binding('https://login.azoogleads.com/affiliate/tool/soap_api/')
hash = b.authenticate('should', 'get', 'authenticationfailurefromthis')
と
import SOAPpy
b = SOAPpy.WSDL.Proxy('https://login.azoogleads.com/affiliate/tool/soap_api/')
hash = b.authenticate('any', 'info', 'shoulddo')