• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

contrib/opal/ZSI/doc/examples/client/send_request/simple/Binding/client.py

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()

Generated on Wed Oct 20 2010 11:12:15 for APBS by  doxygen 1.7.2