Access Keys:
Skip to content (Access Key - 0)

Adding an Analytical Method


In this section we will follow a series of steps enabling us to modify our data service by adding another simple operation.

Add the Operation Stub to the Service

  1. In the Introduce Modify Service Interface window, Select the Operations tab.
  2. Click the Add button to begin to add the operation. The Build/Modify Operation window appears.
{}

Configure the Newly Added Operation

  1. Select the Method Name field and set the name to findGenesSharePathways
  2. Select the Input tab.
  3. Double click the Gene type from the gme://caCORE.caCORE/3.1/gov.nih.nci.cabio.domain namespace from the types tree on the left to add it as an input to the table on the right.
    Input Parameters Set
  4. Select the Output tab.
  5. Double click the Gene type from the gme://caCORE.caCORE/3.1/gov.nih.nci.cabio.domain namespace from the types tree on the left to set the output type in the table on the right.
  6. Click the checkbox in the IsArray column on the output type that we just set.
    Return Type Set
  7. Click the Done button.
    Operations may have any number of input parameters, chosen from the types available on the left hand side of the Build/Modify Operation window. These parameters may be named by clicking on the name in the table on the right hand side of the Input tab. An operation may be made to have a 'void' return type either by not specifying an output type, or clicking the Clear Output Type button on the Output tab.

Save the Modified Service

  1. Click the Save button. (this process may take a minute or two as the service code is synchronized with the model)
Last edited by
Sarah Honacki (1172 days ago)
Adaptavist Theme Builder Powered by Atlassian Confluence