Defining z/OS Connect message payload transformations
IBM® z/OS® Connect provides the ability to optionally transform request and response payloads that are used for calling a business asset on z/OS operating systems. You can create message payload transformers can be created to satisfy specific needs by implementing the com.ibm.wsspi.zos.connect.DataXform Service Provider Interface (SPI), which is included with z/OS Connect.
zosConnect-1.0
and zosConnect-1.2
features are stabilized. You can
continue to use the features. However, consider using the IBM z/OS
Connect Enterprise Edition product.About this task
z/OS Connect provides an implementation that requires the request and response message format be JSON. This feature supports the conversion of the request to a byte array, which can be mapped by a native language Cobol, PL/I, or C structure. This language structure of the target program, or copy book, which includes a description of the in and out parameters, is used to generate a binding file, and JSON request and response schema files by using a z/OS Connect-provided utility. The binding file that is generated by this utility is used by z/OS Connect to complete the data conversion to and from JSON and native data formats as requests arrive and responses are returned. You can retrieve the JSON schemas for the request and response message with a REST API call that is provided by z/OS Connect.
z/OS Connect provides the zosConnectService
configuration element that enables
the administrator to configure a set of attributes that apply to a particular service. One of these
attributes is dataXformRef, which points to a data transformation configuration that is to be used
for a specific service. This task describes how to request that the z/OS Connect-supplied data
transformer be used.