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

Step 1: Import Data Types


Before we can create a method to use identifers in our StockManager, we need to import the data types for our service to use.

Copy the Data Types Schema

  • Copy <CAGRID_LOCATION>\projects\identifiers-namingauthority-gridsvc\schema\IdentifiersNAService (containing the IdentifiersNAServiceTypes.xmd and org.cagrid.identifiers.namingauthority.xmd files) to <StockManager>\schema.

Import the Data Types

Import the data types into Introduce via an import from the file system:

  • If you closed Introduce after Phase 6, then reopen it and open the generated service from Phase 5 for modification.

    %> cd CAGRID_LOCATION
    %> ant introduce

  • In the modification viewer, select the Types tab.
  • In the panel on the right, select the Add/Remove tab.
  • Within this tab, select the File System tab.
  • Browse to the <CAGRID_LOCATION>\projects\identifiers-namingauthority-gridsvc\schema\IdentifiersNAService directory and select the file "org.cagrid.identifiers.namingauthority.xsd".
  • Click Add.
  • The identifier data types have now been added in the Imported Data Types tree on the left.
  • Save the service.
Last edited by
Sarah Honacki (414 days ago)
Adaptavist Theme Builder Powered by Atlassian Confluence