即使它有点古怪,我们也能正常运行,我希望您也能做到。明确的位置或过滤器可能会有所帮助。例如:
imp = Import(
'http://schemas.xmlsoap.org/soap/encoding/',
location='http://schemas.xmlsoap.org/soap/encoding/'
)
imp.filter.add('http://ws.client.com/Members.asmx')
client = Client(url, plugins=[ImportDoctor(imp)])