# Collection of code snippets by Arne Vajhøj 
# (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) 
from suds.client import Client
soap = Client('http://localhost:8080/test3/TestManagerSOAP?wsdl')
print soap.service.getOne(2).f2
for o in soap.service.getAll().item:
    print '%d %s' % (o.f1,o.f2)
