A CICS® SCA component
type is a .componentType file that lists all the services that an
application offers and all references to other services that you can
wire.
Before you begin
Before you can create a CICS SCA
component type, you must create an SCA project and create or import
a COBOL or PL/I source file in the project's Source folder.
About this task
To create a CICS SCA
component type, complete the following steps:
Procedure
In the Project Explorer, select
a program name and click File > New > Other. A "Select a wizard" window appears.
In the "Select a wizard" window, select Service Component Architecture > CICS
SCA Component Type, and click Next. A New CICS Component Type window
appears.
In the New CICS Component
Type window, complete the following steps:
Leave the Project, Component
type file name, CICS program source file,
and Program name, and fields unchanged.
Choose one of the following conversion types:
Compiled XML Conversion
Interpretive XML Conversion
Compiled XML conversion has more capabilities than interpretive
XML conversion. For more information about these two types of conversion,
see the topic about compiled or interpretive runtime
XML conversion.
Click Next
A "Language structures" window appears.
Depending on whether you selected Compiled XML
Conversion or Interpretive XML Conversion,
complete the following steps:
Compiled XML Conversion
Interpretive XML Conversion
In the "Language structures" window
on the Request Language Structure tab or the Response
Language Structure tab or both, select one of the check
boxes for data items in the program that was selected in Step 1, and
click Next. A "Generation options" window
appears.
In the "Generation options" window,
fill out the fields on the tabs described in the following topics:
In the "File, data set, or member selection" window,
fill in the fields on the XML Converters tab
and the WSDL and XSD tab,
and click Finish. A CICS SCA component type is created, along with
other resources useful for enabling the selected program as a service,
such as a WSDL file, a binding file, and XML converter programs.
In the "Language structures" window
on the Request Language Structure tab or the Response
Language Structure tab or both, select one of the check
boxes for data items in the program that was selected in Step 1, and
click Next. A "DFHLS2WS: Application
and Service properties" window
appears.
In the "DFHLS2WS: Application
and Service properties" window,
fill out the fields on the tabs described in the topic about the "DFHLS2WS: Application
and Service properties" page,
and click Next. A DFHLS2WS: Target
artifacts window
appears.
In the "DFHLS2WS: Target
artifacts" window,
fill out the fields on the Service Artifacts tab
described in the topic about the "DFHLS2WS: Target
artifacts" page,
and click Finish. A CICS SCA component type is created, along with
other resources useful for enabling the selected program as a service,
such as a WSDL file and a binding file.