source: TI12-security/trunk/python/Tests/Echo/EchoClient.py @ 1542

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/Tests/Echo/EchoClient.py@1546
Revision 1542, 469 bytes checked in by pjkersha, 14 years ago (diff)

Added http proxy handling for ZSI - see Tests/Echo?/urllib2Client.py

  • Property svn:executable set to *
Line 
1#!/bin/env python
2#
3# Exampe echo client, to show extended code generation in ZSI
4#
5# Import the client proxy object
6from EchoServer_client import EchoServerSOAP
7import sys
8
9
10# Instantiate a client proxy object, then call it
11hw2 = EchoServerSOAP("http://localhost:7000/EchoServIn",
12                     tracefile=sys.stdout)
13try:
14    import pdb;pdb.set_trace()
15    print hw2.Echo("Test INHERIT String")
16except Exception, e:
17    print "Failed to echo (Inherited): ", e
18
Note: See TracBrowser for help on using the repository browser.