SOAP suds and the dreaded schema Type Not Found error

I was banging my head for a while on this one. I finally resolved the issue by using the following syntax: from suds.xsd.doctor import ImportDoctor, Import url=”http://somedomain.com/filename.php?wsdl” imp = Import(‘http://schemas.xmlsoap.org/soap/encoding/’) imp.filter.add(‘http://some/namespace/A’) doctor = ImportDoctor(imp) client = Client(url, doctor=doctor) Importantly, start with the url. Open that file in your browser and it will provide you with … Read more