00001 #!/usr/bin/env python 00002 00003 from ZSI import ServiceProxy 00004 import sys 00005 00006 MESSAGE = "Hello from Python!" 00007 00008 def main(): 00009 server = ServiceProxy('../binding.wsdl', use_wsdl=False) 00010 00011 print ' Sending: %s' % MESSAGE 00012 response = server.echo(MESSAGE) 00013 print 'Response: %s' % response 00014 00015 00016 if __name__ == '__main__': 00017 main()