VGNU Linux <vgnuli...@gmail.com> writes: > ... > Here is my code: > from suds.client import Client > wsdlurl = 'https://46.51.221.138/PBExternalServices/v1/soap?wsdl' > client = Client(wsdlurl) > print client > > And following is the error that occurs on trying to print client. > Traceback (most recent call last): > ... > dereference > midx, deps = x.dependencies() > File "C:\Python25\Lib\site-packages\suds\xsd\sxbasic.py", line 469, in > dependencies > raise TypeNotFound(self.ref) > suds.TypeNotFound: Type not found: '(GetAccountBalanceFaultResponse, > http://www.payback.net/lmsglobal/xsd/v1/types, )'
Looks like a bug in the "WSDL" description of the web service. It seems to reference a type "GetAccountBalanceFaultResponse" associated with the namespace "http://www.payback.net/lmsglobal/xsd/v1/types", but "suds" cannot find the type. Maybe an "import" is missing in the "WSDL" description. -- http://mail.python.org/mailman/listinfo/python-list