三、python webservice
#!/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("")