Parse WSDL with Zeep
问题 I want to parse a WSDL file with Zeep and get out: All the operations Request xml messages for each operations Any examples on parsing the wsdl? I guess I should use zeep.wsdl and the parse_service method? /A 回答1: updated: import operator from zeep import Client wsdl = 'http://www.soapclient.com/xml/soapresponder.wsdl' client = Client(wsdl=wsdl) for service in client.wsdl.services.values(): print "service:", service.name for port in service.ports.values(): operations = sorted( port.binding.