Enabling Db2 as a
web service consumer allows you to receive web service data in your Db2 applications.
Before you begin
Db2 for z/OS as
a web service consumer has the following prerequisites:
- Install IBM® XML Toolkit for z/OS® 1.10
- Configure TCP/IP
About this task
Installation
job DSNTIJMV contains sample startup procedure DSNWLM, which you can
use as a model for your startup procedures. You must modify the startup procedure only if the web
services routines are not defined to the DSNWLM_WEBSERVICES core WLM
environment.
Procedure
To enable Db2 as
a web service consumer:
- Change the following items in each startup procedure:
- Change the procedure name from DSNWLM to the procedure
name that you specified when you set up the WLM application environment.
- Change the value of APPLENV to the name
of the WLM application environment that you set up for the web services
consumer user-defined functions. The name of this environment must match the WLMENV parameter value in the configuration control statement for each stored procedure in job DSNTIJRT.
- Change the value of DB2SSN to your Db2 subsystem name.
- Add the data set name of the XML Toolkit
load library (XPLINKed version) to the STEPLIB concatenation. If you
used the default data set names when you installed the XML Toolkit,
the load library data set name is userid.SIXMLOD1.
- Ensure that the Db2 SDSNLOD2 library is added to the STEPLIB.
- After you set up the WLM application environment, create
a JCL startup procedure for the stored procedure address space.