Page History
...
- Connect to the LexEVS caGrid Service
Code Block LexBIGServiceGrid lbs = new LexBIGServiceGridAdapter(url);
- Build an
org.LexGrid.LexBIG.DataModel.cagrid.CodingSchemeIdentification
to hold the Coding Scheme name.Code Block CodingSchemeIdentification codingScheme = new CodingSchemeIdentification(); codingScheme.setName "codingScheme";
- Build a
gov.nih.nci.evs.security.SecurityToken
containing the security information for the desired Coding Scheme.Code Block SecurityToken token = new SecurityToken();
token.setAccessToken("securityToken");
#Code Block - Invoke the LexEVS caGrid service as follows:
This will return a reference to a new "LexBIGServiceGrid" instance that is associated with the security properties that were passed in.Code Block codeLexBIGServiceGrid lbsg = lbs.setSecurityToken(codingScheme, token);
...