CDS registry effort <BR><FONT SIZE='-1'>2 June 2003

show menu
CDS Home Page
 
CDS registry effort
2 June 2003
In this page:
The CDS entries concerning the CDS IVOA registry effort.

New: Glu.java code 1.1 Release

Web services at CDS CDS Web service home page - Describe technology and the available servcices
SOAP Glu client example - few line codes showing how to implement the simple Glu SOAP client.

Glu Registry java client Glu.java source code - Just a one java class to access the Glu
An usage example - Implements a simple Glu Browser
Technical documentation - Java doc pages for both classes

Typical Glu.java usage

  1. To get the URL to the home page of the nearest ADS site:
    String ADSUrl = glu.getUrl("ADS.home");
  2. To get the URL to the nearest VizieR site to retrieve the excerpt of the USNOB catalog around M1 in VOTable format:
    String vizierUrl = glu.getUrl("VizFind","USNOB M1");
  3. To get the result of a Simbad resolver call for 3C273:
    String coord = glu.getDocument("SimbadResolve","3C273");
  4. To open a browser (Explorer, Netscape or Mozilla - depending of your platform) with the result of the nearest "astro-ph" site concerning "GAIA" keyword:
    glu.showDocument("astro-ph","GAIA");
  5. To retrieve the list of all Glu record IDs (such as "ADS.home", "VizFind", "SimbadResolve", "astro-ph"...):
    String ids[] = glu.getIds();
  6. To retrieve the list of Glu record IDs concerning one specific Glu domain such as ASTRO:
    String ids[] = glu.getIds("ASTRO");
  7. To retrieve all Glu available domains (such as "ASTRO"...):
    String domains[] = glu.getDomains();
  8. To retrieve the full Glu record concerning Skyview direct image access in XML format:
    String xmlRecord = glu.getRecord("Skyview");
  9. To retrieve the full Glu dictionary in XML:
    String xmlDic = glu.getRecords();


©UDS/CNRS  Contact: Question@simbad