首页 > 编程语言 > 详细

三、python webservice

时间:2016-01-06 15:35:28      阅读:124      评论:0      收藏:0      [点我收藏+]
#!/usr/bin/python
# -*- coding: utf-8 -*-
import logging
import suds

url="http://172.17.2.199:8080/tdzz/FieldProtect.asmx?WSDL";

def WebService(ItemCode) :
  from suds import WebFault
  from suds.client import Client
  client = Client(url)
  print (client.service.GetItemData(ItemCode))

WebService("2101812015103");
input("")

  

三、python webservice

原文:http://www.cnblogs.com/shuyu/p/5105596.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!