diff options
Diffstat (limited to 'frameworks/middleware/examples/soap/client.py')
| -rwxr-xr-x | frameworks/middleware/examples/soap/client.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/frameworks/middleware/examples/soap/client.py b/frameworks/middleware/examples/soap/client.py index 9cd35f2..5151234 100755 --- a/frameworks/middleware/examples/soap/client.py +++ b/frameworks/middleware/examples/soap/client.py @@ -4,8 +4,10 @@ from datetime import datetime from ZSI.client import Binding b = Binding(url='http://localhost:8000/') + t = b.today (5) # t = 2014-02-18 15:59:50.571927 conv = datetime.strptime (t, "%Y-%m-%d %H:%M:%S.%f") print "Today: %s" % conv.strftime ("%d.%m.%Y, %H:%M") + print b.load ("string") |
