import suds
url='http://10.87.0.19:8080/APL-SMSService/SMSService?wsdl'
client = suds.client.Client(url)
service = client.service
print client
result = service.sendSms(201312291,'F8B7AFFDCE88AA3F','15868489464','test',20131229111649)
print result
print client 结果如下:
Suds ( https://fedorahosted.org/suds/ )  version: 0.4 GA  build: R699-20100913
 
Service ( SMSService ) tns="http://ws.sms.zjapl.com"
   Prefixes (1)
      ns0 = "http://ws.sms.zjapl.com"
   Ports (1):
      (SMSWebServicePort)
         Methods (1):
            sendSms(xs:long id, xs:string appKey, xs:string phoneNums, xs:string content, xs:long time, )
         Types (2):
            sendSms
            sendSmsResponse
 
print result 结果如下:
1

 

相关文章:

  • 2021-07-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
  • 2021-09-24
  • 2021-11-16
  • 2022-02-26
猜你喜欢
  • 2021-05-20
  • 2021-11-21
  • 2021-07-20
  • 2022-01-28
  • 2022-02-01
  • 2022-12-23
相关资源
相似解决方案