Create a Client Operation

A client operation defines how client interfaces are produced and how they will interact with other services. The client operation has a name, optional description, and a client schema with both an input record and output record.

Before you can set up a client operation, you must have at least one host transaction available to reference. See Declare a Host Transaction.

If you are creating a client operation using the Declare a Host Transaction wizard, then the host transaction has already been determined.

When you create a client operation you must define the mapping between it and the host transaction and its data structure. You can modify the names and hierarchy of elements in your client schema until you are certain that the properties of your client operation match the data structure defined in the host transaction.

To create a client operation

  1. In the Transaction Studio, from either the Actions menu or toolbar, select New Client Operation.

    Alternatively, you can create a new client operation as part of the Declare a Host Transaction wizard workflow. If this is the case, a host transaction has already been determined and you can skip Step 3 in this procedure.

  2. Type a name and description for the client operation.

  3. From the drop down list, select the host transaction that is associated with the new client operation.

  4. By default, the client operation is populated with elements from each data item in the host program data structure. This provides an effective starting point for editing your client schema. You may override this behavior by selecting Create empty client schema.

    At this point, if necessary, you can modify the names and hierarchy of the elements in your client schema until the structure is an accurate representation of the host program data structure.

    See Map Client Schema to Host Program Data Structure for more information.

  5. Save the project.

    The next step is to build your project for use in client applications.

 

Related Topics
Bullet Declare a Host Transaction
Bullet Map Client Schema to Host Program Data Structure