source: TI12-security/trunk/python/Tests/VocabServer/VocabServerClient.py @ 1566

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/Tests/VocabServer/VocabServerClient.py@4692
Revision 1566, 498 bytes checked in by lawrence, 14 years ago (diff)

Toy code to play with the vocab server ... using Phil's base ...

  • Property svn:executable set to *
Line 
1#!/bin/env python
2#
3# Exampe echo client, to show extended code generation in ZSI
4#
5# Import the client proxy object
6from VocabServerAPI_dlService_client import * 
7import sys
8
9
10# Instantiate a client proxy object
11loc = VocabServerAPI_dlServiceLocator()
12vocabSrv = loc.getVocabServerAPI_dl()
13
14try:
15    #import pdb;pdb.set_trace()
16    whatLists = vocabSrv.whatListsCat()
17    print 'whatListsCat:\n'
18    for elem in whatLists:
19        print elem
20       
21except Exception, e:
22    print "Failed: ", e
23
Note: See TracBrowser for help on using the repository browser.