return '\n'.join([v[1] for v in printed])

def main():
    if len(sys.argv) < 2:
        print('Usage: %s <url>' % sys.argv[0])
print('The output will be printed to the console')
return
if not '://' in sys.argv[1]:
    sys.argv[1] = 'file://' + os.path.abspath(sys.argv[1])
client = suds.client.Client(sys.argv[1])
print(generate(client, sys.argv[1]))
if __name__ == '__main__':
    main()
Генерация заглушек Python soaplib из WSDL