今天在调用suds-py3的时候出现了一个错误。
Exception: imported schema (http://www.w3.org/2001/XMLSchema) at (http://www.webxml.com.cn/webservices/XMLSchema.xsd), failed
suds.TypeNotFound: Type not found: '(schema, http://www.w3.org/2001/XMLSchema,)'
我的代码写的是:
imp = Import('http://www.w3.org/2001/XMLSchema', location='XMLSchema.xsd')
...