Importing JSON schemas from your local machine

Create a Db2 service from a JSON schemas that are stored on your local machine.

Before you begin

Complete the steps in Creating a Db2 service project.
  1. From the main menu, select Window > Open Perspective > Other. The Select Perspective wizard opens.
  2. Select z/OS Connect Enterprise Edition.
  3. Open the service.properties file in the service project editor and optionally, change the version number from the default of 1.0.0..

About this task

Import the JSON schema to create a service that connects IBM® z/OS Connect to a Db2 system.

Procedure

  1. Enter the collection ID, service name, and version for the Db2 native REST service.
    Note:
  2. For the Request JSON schema, click Import from local machine and select the schema from your local machine.
  3. For the Response JSON schema, click Import from local machine and select the schema from your local machine.

Results

The project now contains the details and schemas for the Db2 native REST service.
The service project editor displays the Db2 native REST service details.

What to do next

Configuring the connection reference to Db2.