Configuring Lookups

Lookups are executed by the SRT during the processing of an upstream XML service request. Lookups can be used to look up additional parameters that are required for activation of services, to format parameters so that they are compatible with service action parameters, and so forth. The Lookup library contains custom lookups that are used by the SRT only.

To create new lookups:

  1. Select Studio, then select Show Design Perspective.

  2. In the Studio Projects view, right-click and select New, select Activation, then select Lookup.

    Alternatively, select Studio, select New, select Activation, then select Lookup. The Studio Model Entity wizard appears.

  3. Select the applicable project from the list and enter a name for the lookup.

  4. Click Browse to open a Select Location dialog box and select a location from a list.

    This populates the Location field and specifies the folder under the cartridge project where the new lookup will be located. If no folder exists, type in the location name, which creates a new folder with that name.

    Note:

    Specifying a location is optional, but is recommended to organize your elements and to avoid locating elements directly below the root folder.

  5. Click Finish.

    The new lookup appears under your project folder in Studio view.

    Use the Lookup editor to configure the lookup.

  6. Double-click the lookup entity.

    The Lookup editor opens.

  7. From the Type list, select a lookup type.

    If you select type as JAR, see "Selecting Lookup Class for JAR Format" for more information.

  8. In the Lookup Properties area, define the properties for the lookup.

  9. In the Input Parameters tab, click Add.

    An input parameter is added.

  10. Click the specific row and configure in the Input Parameter Details area.

  11. In the Output Parameters tab, click Add.

    An output parameter is added.

  12. Click the specific row and configure in the Output Parameter Details area.

  13. Select File, then select Save.

Related Topics

About Lookups

Lookup Editor

Example: Configuring Lookups