# Collection of code snippets by Arne Vajhøj 
# (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) 
from zeep import Client

factory = Client('http://localhost:8081/soap/S1?wsdl')
soap = factory.service
for msg in soap.process('Hi from Python!'):
    print(msg)
