00001 #!/usr/bin/env python 00002 00003 from ZSI import Binding 00004 00005 00006 MESSAGE = "Hello from Python!" 00007 00008 def main(): 00009 binding = Binding(url='http://localhost:8080/server.py') 00010 print ' Sending: %s' % MESSAGE 00011 response = binding.echo(MESSAGE) 00012 print 'Response: %s' % MESSAGE 00013 00014 00015 if __name__ == '__main__': 00016 main()