#!/usr/bin/env python
#-*- coding: UTF-8 -*-
from suds.client import Client

url = 'URL链接'
c = Client(url)

#定义调用webservice的方法函数
def sendMessage(Message,Recipipients):
c.service.SendMessages('xxxx',Message,Recipipients)

if __name__ == '__main__':
sendMessage('xxx','xxxx')



--------------------------------------------分隔线--------------------------------------------
Service ( SendSMS ) tns="http://tempuri.org/"
Prefixes (0)
Ports (2):
(SendSMSSoap)
Methods (2):
QueryReceived(xs:string QueryInfo)
SendMessages(xs:string CodeID, xs:string Message, xs:string Recipients)
Types (0):
(SendSMSSoap12)
Methods (2):
QueryReceived(xs:string QueryInfo)
SendMessages(xs:string CodeID, xs:string Message, xs:string Recipients)
Types (0):