summaryrefslogtreecommitdiff
path: root/examples/demo/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/demo/client.py')
-rw-r--r--examples/demo/client.py32
1 files changed, 0 insertions, 32 deletions
diff --git a/examples/demo/client.py b/examples/demo/client.py
deleted file mode 100644
index 328f184..0000000
--- a/examples/demo/client.py
+++ /dev/null
@@ -1,32 +0,0 @@
-from suds.client import Client
-
-url = 'http://127.0.0.1:8080/ws/api.wsdl'
-
-client = Client(url, cache=None)
-
-print client
-
-print client.service.multiply(4, 5)
-print client.service.helloworld()
-print client.service.getperson()
-p = client.service.listpersons()
-print repr(p)
-p = client.service.setpersons(p)
-print repr(p)
-
-p = client.factory.create('ns0:Person')
-p.id = 4
-print p
-
-a = client.factory.create('ns0:Person_Array')
-print a
-
-a = client.service.setpersons(a)
-print repr(a)
-
-a.item.append(p)
-print repr(a)
-
-a = client.service.setpersons(a)
-print repr(a)
-