On 2019-01-20 15:41, prakashsharmac...@gmail.com wrote:
I want to consume the web services described in the following: https://login.keyinvoice.com/API3_ws.php?wsdl I am using python 3.5.x and suds version 0.6. What I tried 1 from suds.client import Client url = 'https://login.keyinvoice.com/API3_ws.php?wsdl' client = Client(url) Error: suds.TypeNotFound: Type not found: '(Array, http://www.w3.org/2001/XMLSchema, )' What I tried 2 from suds.client import Client from suds.xsd.doctor import Import, ImportDoctor imp = Import('http://www.w3.org/2001/XMLSchema', location='http://www.w3.org/2001/XMLSchema.xsd') imp.filter.add('http://login.keyinvoice.com/soap/KI_API3') client = Client(url, doctor=ImportDoctor(imp)) Error: suds.TypeNotFound: Type not found: '(Array, http://www.w3.org/2001/XMLSchema, )' Already visited these URL: SOAP suds and the dreaded schema Type Not Found error Type not found wsdl python suds client - suds.TypeNotFound python suds
Have you tried: https://www.w3.org/2001/XMLSchema instead? ("https" instead of "http") -- https://mail.python.org/mailman/listinfo/python-list