0

嗨,我在谷歌上搜索,遇到了各种问题,例如:

raise TypeNotFound(self.ref)

suds.TypeNotFound:找不到类型:'(架构,http ://www.w3.org/2001/XMLSchema ,)'

我需要得到回应:

http://www.tsetmc.com/WebService/TsePublicV2.asmx http://www.tsetmc.com/WebService/TsePublicV2.asmx?WSDL

请参阅此帮助: 帮助 如何在 Python 3 中从该服务获取响应:

1:用户名:mgamini 2.密码:123456 3.流量:0

我使用错误的基本代码是:

from suds.xsd.doctor import ImportDoctor, Import
from suds.client import Client


url = 'http://www.tsetmc.com/WebService/TsePublicV2.asmx?WSDL'
imp = Import('http://schemas.xmlsoap.org/soap/encoding/')
imp.filter.add('http://some/namespace/A')
doctor = ImportDoctor(imp)
client = Client(url, doctor=doctor)

我明白了

raise TypeNotFound(self.ref)

suds.TypeNotFound:找不到类型:'(架构,http ://www.w3.org/2001/XMLSchema ,)'

PLZ 帮助我,真诚的!

4

1 回答 1

0

YOU Should ASK YOUR Question COMMONLY, i'm really intrest about Your main QOuestion, Python SOAP Reaquest And Response TO/FROM a WEB SERVICE with XML input and output!

于 2013-06-26T07:31:02.470 回答