Rational Developer for System z, Version 7.6

Web service development scenarios: single-service projects

This topic describes bottom-up, meet-in-middle, and top-down development of Web services in the context of creating a single-service project.

This context applies to the following types of Enterprise Service Tools projects: (see Web services enablement scenarios for each project type).

Create New Service Interface (bottom-up)

In this scenario you generate a Web service description and runtime-specific XML message processing artifacts from a high level language data structure. This allows you to expose an application program as a service provider.

You start with an existing COBOL application, select the interface language structure from it and generate the needed artifacts to deploy it as a new Web service.

Map to an Existing Service Interface (meet-in-middle)

In this scenario, you define mappings between high level language structures and WSDL, XML, or XSD files. You also can generate runtime-specific XML message processing based on the mappings.

You start with a WSDL file (or XML or XSD file) that defines the interface to an existing Web service and an existing COBOL interface definition and mapping together related fields. After mapping is completed, you generate compiled converters that follow the mappings.

Create New Service Implementation (top-down, CICS only)

In this scenario you generate a high level language structure and runtime-specific XML message processing from a Web service description.

You start with a WSDL document that defines an existing Web service and create a new application from it that implements some or all of the functionality described in the Web service definition. The tool will generate a template COBOL program code for either a new Web service provider or a new Web service consumer. This new program uses language structures that correspond to the message elements for each operation (operation-->input-->message-->part-->element, where element is an XML Schema type) to process requests and issue replies.

To assist you in writing the new application, include files containing the language structure definitions are generated as well as a COBOL template program which includes them.

Related concepts

Supported runtime environments for each project type
Overview of Enterprise Service Tools

Related tasks

Setting preferences for COBOL XML converters


Terms of use | Feedback

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