Using the program logic for each of the sample programs,
create the service resources including the WSDL, web service binding,
and component type files.
About this task
A component type file contains the configurable aspects of
the implementation, such as the services that are offered by the implementation
and the references that require services from other component implementations.
An
implementation is the SCA term for a program that
contains the business logic.
To create a component type for each
program, complete the following steps:
Procedure
- Right-click the FileaAmountServices project and select .
- Browse and select the EXINQAMT.cbl file.
- Accept the default Interpretive XML Conversion option,
and click Next. Interpretive XML
conversion means that CICS handles the conversion of XML to COBOL
natively. Compiled XML conversion generates programs that you can
compile to handle the XML to COBOL conversion.
- Select the WS-INQUIRY-AREA data
structure for both the Request and the Response Language Structure
tabs and click Next.
- Provide the appropriate application and service properties
using the fields on both tabs and click Next. Ensure that the Service Location has
a valid server and port number. The service location specifies the
URI that a client uses to access the web service. It is specific to
your own environment, because it includes the name of the host that
the service runs on and the port number used to access the service
on that host. For more information about the application and service
properties, see the topic about the "DFHLS2WS: Application
and Service properties" page.
- Accept the default values for the service artifacts that
are created.
- Click Finish.
- Repeat the procedure for the EXADDAMT.cbl and EXUPDAMT.cbl programs
to create all of the required Service artifacts.
Results
A
.componentType file (
EXINQAMT.componentType,
EXADDAMT.componentType,
or
EXUPDAMT.componentType, depending on the
.cbl file
name) appears in the FileaAmountServices SCA project. A number of
artifacts appear in the
fileaAmountServices folder,
including
.wsdl and
.wsbind files.