Creating a Db2 service

Use the z/OS® Connect API toolkit to create a IBM® z/OS Connect service.

zosConnect-2.0 Applies to zosConnect-2.0.

The z/OS Connect API toolkit helps you create a Db2 service project where you define the request and response JSON schemas, and the Db2® native REST service which IBM z/OS Connect interacts with. The Db2 native REST service is created in Db2 using the Db2 REST services. For more information, see A launch icon to indicate a link opens a new tab or window. Db2 REST services in the Db2 for z/OS documentation. The z/OS Connect Db2 service uses the REST client service provider to process requests to Db2.
Diagram showing how IBM z/OS Connect connects the user to a Db2 instance.
Pre-requisites: You must apply the PTF for Db2 APAR PI98649: New function update of Db2 native RESTful services support.
After a service is created, you can deploy it directly from the z/OS Connect API toolkit. The zosconnect_services element must be present in the server.xml configuration file for service deployment using .sar files.
Note:

Deploying a service directly from within the API toolkit requires API toolkit 3.0.3 or later and server code 3.0.4 or later.

You can also export the service project as a service archive (.sar) file. For more information about deploying the generated service archive file, see Configuring services.