;+
; NAME:
;       test_uoc
; PURPOSE:
;       Quick test that SSW contact with UOC works
;
; CALLING SEQUENCE:
;       .run test_uoc 
;
;       define back is you want to test the backup server, thus:
;       backup=1
;       .run test_uoc
;
; RESTRICTIONS:
;       JAVA version 1.4 or later required
;
; HISTORY:
;          Sep-2004  Written by Bob Bentley (MSSL/UCL)
;       08-Dec-2004  Released version
;       19-Apr-2005  rdb  added backup keyword to test 2nd server
;
;-
 
tm0 = systime(1)

;uoc_com='SELECT * FROM telescope'
uoc_com = 'select * from search_uoc_simple(2452982.29,2452982.30,0,0,1500,3,15);' 

qq=egso_query_uoc(uoc_com, /verb, backup=backup)
help,qq
vv = decode_votable(qq)

print,'Query took:',systime(1)-tm0

end
