Rational Developer for System z, Version 7.6

Step 1.1: Create a new service flow project

In this step you will create: (a) a new service flow project; and (b) a new top-level flow within the service flow project.

Preliminary

Before you start this step, you must perform the following actions:
  1. Start the Rational® Developer for System z®.
  2. Open the Enterprise Service Tools perspective (see Opening the Enterprise Service Tools perspective).

Creating a new service flow project

In this step you will create a new service flow project.

After you have opened the Enterprise Service Tools perspective, follow these steps:

  1. On the workbench main menu, select File > New > Service Flow Project. The New Service Flow Project wizard opens.

  2. On the first page of the wizard, titled Choose a project name and location:

    1. In the Project name field, type CatalogSample. This is the name of the new service flow project.

    2. Select the check box I will specify the service flow later.
      Note:

      This tutorial does not ask the wizard to create a new top-level flow here because then the new flow (CatalogSample.seqflow) would have the same name as the service flow project (CatalogSample).

      To avoid possible confusion this tutorial will create a top-level flow with the name CatalogOrder (see Creating a new flow).

    3. Click Finish. The wizard performs the following steps:
      1. It creates a new service flow project named CatalogSample and related folders.

In the EST Project Explorer view, the following subprojects should be displayed in the CatalogSample service flow project:
  • CatalogSample.Interface
  • CatalogSample.Terminal
  • CatalogSample.Nonterminal
  • CatalogSample.OutboundWebService

Creating a new flow

In this step you will create a new flow CatalogOrder.seqflow which will become the top-level flow of the service flow project. To create a new flow:

  1. In the EST Project Explorer:

    1. Right-click the service flow project CatalogSample.

    2. Click New > Flow. The New Flow wizard opens.

  2. On the first page of the wizard, titled Create new flow:

    1. In the Name field, type CatalogOrder. This is the name for the new flow.

    2. Click Next.

  3. On the second page of the wizard, titled Associate operation:

    1. Click Next.
      Note: Typically a user would make selections on this page to have the wizard automatically create the following artifacts for the new flow:
      • An operation and its operation file.
      • An input message and its message file.
      • An output message and its message file.
      However, for teaching purposes this tutorial builds the operation, the input message, the output message, and their files manually (see Step 1.3: Create the interface operation for the top-level flow and Step 1.2: Define the input, output, and variable messages for the top-level flow).
  4. On the third page of the wizard, titled Select a variable message.

    1. Click Finish.
      Note: If the Enterprise Service Tool Tip window opens, disable it (see Disabling the Enterprise Service Tools Tip window). You can re-enable it later.
      Note: Typically a user would make selections on this page to have the wizard automatically create a variable message and message file for the new flow. However, for teaching purposes this tutorial builds the variable message and its message file manually (see Step 1.2: Define the input, output, and variable messages for the top-level flow).
    The wizard performs the following steps:
    1. It creates a new flow named CatalogSample.seqflow.
      • To see the flow file, in the EST Project Explorer window, expand CatalogSample > Flows.
      • In the EST Project Explorer view, in the Flows folder, the icon for the flow file has an error indicator Error indicator attached to it, because the flow has not yet been fully configured.
    2. It creates a new mapping file named CatalogOrder.sfmap.
    3. It opens the new flow CatalogOrder.seqflow in the flow editor.

  5. Close the flow editor for now. You will use it later on in the tutorial.


Terms of use | Feedback

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