Creating a Db2 service

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

The z/OS Connect EE 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 function. 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 EE 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 server code V3.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.