NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: remove broken link

...

Small sample Distributed LexEVS Sample Client with source:
5.0 Distributed Sample Client zip

Launch with:

Code Block
    ant runTestClient

Thread: Questions on running a sample LexEVS program

...

As for debugging, there's a couple of different ways to go about that. First, you can run the GUI from Eclipse. When you checked things out you should have gotten some run configurations named "lbGUI LB_GUI" or something similar. There's various ones for different OS's. What's handy about that is the GUI does a pretty good job of reflecting our API, so you can work through API calls and set breakpoints as you go. When I want to debug something, sometimes I just start the GUI in debug mode and then put breakpoints as needed.

...

You could use this to get information about the CodingScheme itself. The representsVersion will display the version for the vocabulary

Code Block
    http://lexevsapi.nci.nih.gov/lexevsapi50/GetXML?query=org.LexGrid.codingSchemes.CodingScheme&org.LexGrid.codingSchemes.CodingScheme[@_codingSchemeName=NCI_Thesaurus]

...

For example:
I have a servlet and I'd like to initialize the only instance of LexBIGService in init() method. And then, in subsequent HTTP calls, use this instance. I do initialization in following way:

Code Block
    appSvc = (LexBIGService) ApplicationServiceProvider.getApplicationServiceFromUrl(url, "EvsServiceInfo");

...