Error while using suds: suds.TypeNotFound: Type not found

prakashsharmacs24 at gmail.com prakashsharmacs24 at gmail.com
Sun Jan 20 10:41:56 EST 2019



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



More information about the Python-list mailing list