This topic applies only to the IBM Business Automation Workflow Advanced
configuration.

Importing the ServiceGateway interface and schema

Draft comment:
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15
A service gateway has a single generic export and a single generic gateway interface. The generic gateway interface named ServiceGateway, along with schema files, is provided for you. You can import the predefined service gateway resources into your module or library.

About this task

You can quickly create all of the starter artifacts for a service gateway, including the data handlers and interfaces described here, by using pattern generators that are provided in the Patterns Explorer.

Procedure

To import the predefined ServiceGateway interface and schema, complete the following steps:

  1. In the Business Integration view, expand a module, mediation module, or library.
  2. Double-click Dependencies to open the Dependency Editor.
  3. Expand the Predefined Resources section.
  4. Select Service gateway interface.
  5. Select Native Body schema for Native Body DataHandler.
    Predefined resources list
  6. In the Business Integration View, expand your project's Data Types and Interfaces category.
    Note the data types and ServiceGateway interface that are created under the StandardImportFilesGen folder in each category.
    Library showing generated data types and interface
  7. Double-click the ServiceGateway interface to open it in the Interface Editor. As you can see, the interface as two operations; requestOnly and requestResponse.
    ServiceGateway interface in the interface editor

What to do next

You can now add the generic gateway interface ServiceGateway to the export of your gateway module.