Rational Developer for System z, Version 7.6

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.
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:

  1. Right-click the FileaAmountServices project and select New > CICS SCA Component Type.
  2. Browse and select the EXINQAMT.cbl file.
  3. 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.
  4. Select the WS-INQUIRY-AREA data structure for both the Request and the Response Language Structure tabs and click Next.
  5. 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.
  6. Accept the default values for the service artifacts that are created.
  7. Click Finish.
  8. Repeat the procedure for the EXADDAMT.cbl and EXUPDAMT.cbl programs to create all of the required Service artifacts.
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.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)