Hi Guys, I am pretty new to web services. After some googling found that python suds is a suitable module to create web service client. I am trying to create a client but its giving me an error which is quite confusing for me.
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): File "trysuds.py", line 3, in <module> client = Client(wsdlurl) File "C:\Python25\Lib\site-packages\suds\client.py", line 112, in __init__ self.wsdl = reader.open(url) File "C:\Python25\Lib\site-packages\suds\reader.py", line 152, in open d = self.fn(url, self.options) File "C:\Python25\Lib\site-packages\suds\wsdl.py", line 159, in __init__ self.build_schema() File "C:\Python25\Lib\site-packages\suds\wsdl.py", line 220, in build_schema self.schema = container.load(self.options) File "C:\Python25\Lib\site-packages\suds\xsd\schema.py", line 95, in load child.dereference() File "C:\Python25\Lib\site-packages\suds\xsd\schema.py", line 323, in 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, )' Appreciate your help. Thanks in advance, VGNU
-- http://mail.python.org/mailman/listinfo/python-list