© 1999-2048 dssz.net 粤ICP备11031372号
[其它] python调用webservice接口的实现
说明:使用suds这个第三方模块 from suds.client import Client url = 'http://ip:port/?wsdl' cilent=Client(url) print cilent 查看webservice接口的具体信息: 调用接口方法,通常 client.service.methodname 实际测试过程中遇到的坑: 1、tns 值为Localhost 之前查看接口信息时,未发现tns=”http://Localhost:4567/Interface.wsd<weixin_38701312> 在 上传 | 大小:66560