我正在尝试连接到http://vipmember.tmtd.cpc.com.tw/CPCSTN/STNWebService.asmx?wsdl,并使用了以下代码:
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://tmtd.cpc.com.tw/getCityStation')
url="http://vipmember.tmtd.cpc.com.tw/CPCSTN/STNWebService.asmx?wsdl"
client = Client(url,doctor=ImportDoctor(imp))
print(client)
但它抛出了一个错误:
^{pr2}$这两个问题中的一个(或两个)会是问题吗? 提前感谢您的任何提示。在
目前没有回答
相关问题 更多 >
编程相关推荐