首页 > 代码库 > python2.7调用wsdl接口

python2.7调用wsdl接口

import suds

url = "http://x.x.x.x:x/dcmsWebservice/webservice/phoneQueue?wsdl"
client = suds.client.Client(url)
phone = client.service[‘phoneQueue‘].queueRegin(‘xxxx‘)
print client
print phone

本文出自 “4574909” 博客,请务必保留此出处http://4574909.blog.51cto.com/4564909/1928888

python2.7调用wsdl接口