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

contrib/opal/ZSI/doc/examples/client/send_request/complex/manual/client.py

00001 #!/usr/bin/env python
00002 
00003 from ComplexTypes import User
00004 
00005 from ZSI import ServiceProxy
00006 
00007 import sys
00008 
00009 
00010 def main():
00011     user = User('john_doe', 'John Doe', 25)
00012     nsdict = { 'types' : 'http://pycon.org/types' }
00013     registration = ServiceProxy('../binding.wsdl',
00014                                 nsdict=nsdict,
00015                                 tracefile=sys.stdout)
00016     response = registration.RegisterUser(user)
00017     print response
00018     
00019 
00020 if __name__ == '__main__':
00021     main()

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