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