From 8d376b15741fb152df0f66a249c4b1b530609231 Mon Sep 17 00:00:00 2001 From: Christophe de Vienne Date: Fri, 7 Sep 2012 15:32:15 +0200 Subject: [PATCH] Fix the demo so that we can use the soap client again, and changed the function names in the client (the soap function naming scheme just changed) --- examples/demo/client.py | 12 ++++++------ examples/demo/demo.py | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/demo/client.py b/examples/demo/client.py index 8ee61c0..6384e3c 100644 --- a/examples/demo/client.py +++ b/examples/demo/client.py @@ -1,14 +1,14 @@ from suds.client import Client -url = 'http://127.0.0.1:8989/api.wsdl' +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() -p = client.service.Setpersons(p) +print client.service.multiply(4, 5) +print client.service.helloworld() +print client.service.getperson() +p = client.service.listpersons() +p = client.service.setpersons(p) print p diff --git a/examples/demo/demo.py b/examples/demo/demo.py index 9a2f4dc..6553b21 100644 --- a/examples/demo/demo.py +++ b/examples/demo/demo.py @@ -80,7 +80,7 @@ root = DemoRoot(webpath='/ws') root.addprotocol('soap', tns='http://example.com/demo', typenamespace='http://example.com/demo/types', - baseURL='http://127.0.0.1:8989/ws/', + baseURL='http://127.0.0.1:8080/ws/', ) root.addprotocol('restjson')