Creating a simple composite CICS SCA application

In this scenario, you will create a simple composite application that uses CICS and the Service Component Architecture (SCA) and that can inquire on and update the FILEA sample application. About this task This scenario uses the following samples:

Name

Description

DFH0CFIL.cpy

Record description of FILEA VSAM file

EXINQAMT.cbl

Sample COBOL program that provides a service for inquiring on the amount on file for an ID number. This program uses a container interface for data exchange.

EXADDAMT.cbl

Sample COBOL program that provides a service for changing the amount on file to a specified value for an ID number. This program uses a container interface for data exchange.

EXUPDAMT.cbl

Sample COBOL program that provides a service for updating the amount on file for an ID number, by debiting or crediting the amount with a specified value. This program uses a container interface for data exchange. This program also calls the services provided by the EXINQAMT and EXADDAMT programs.

1. Create an SCA project and import resources Using the Enterprise Service Tools perspective in Rational Developer for System z, create an SCA project to contain the application resources. 2. Create a component type for each program Using the program logic for each of the sample programs, create the service resources including the WSDL, web service binding, and component type files. 3. Create a composite SCA applications are composed of one or more components that are deployed in a composite. To deploy an SCA application, you must create a composite. 4. Create an InquireAmount component and service Create an InquireAmount component and service for the composite. The component uses the EXINQAMT program. 5. Create an AddAmount component and service Create an AddAmount component and service for the composite. The component uses the EXADDAMT program. 6. Create an UpdateAmount component and service Create an UpdateAmount component and service for the composite. The component uses the EXUPDAMT program.

7. references. To make an SCA composite application available in CICS.eclipse. Create references and promote a service Create references for the UpdateAmount component and connect to the services provided by the AddAmount and InquireAmount components. you must create and deploy a CICS bundle. (http://www. artifacts. Create and deploy a CICS bundle A bundle is the collection of CICS resources. Terms of use | Feedback This information center is powered by Eclipse technology. 8.org) . Testing the service You can use the Web Services Explorer to test the service provided by the SCA composite application. 9. and a manifest that represent an application in the CICS region.

Sign up to vote on this title
UsefulNot useful