Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Service Development | Building Services | About the Service Signature | Guidelines for Specifying Output Parameters
 
Guidelines for Specifying Output Parameters
On the output side of the Input/Output tab you specify the variables that you want the service to return to the calling program or client. The guidelines for defining the output parameters are similar to those for defining input parameters:
*Specify all of the output variables that you want this service to return to the calling program or client.
*Make sure the names of output variables match the names used by the services that produce them. Like input variables, if you do not specify names that match the ones produced by the flow’s constituent services, you must use the Pipeline view to manually link them to one another.
*Avoid using multiple outputs that have the same name. Although Designer permits you to declare multiple output parameters with the same name, the fields may not be processed correctly within the service or by services that invoke this service.
*Make sure the variables match the data types of the variables they represent in the service. For example, if a service produces a String called AuthorizationCode, make sure you define that variable as a String. Or, if a service produces a Long object called EmployeeID, define that output variable as an Object and apply the java.lang.Long object constraint to it. For a complete description of the data types supported by a service, see Data Types
*Declared output variables appear automatically as outputs in the pipeline.When you select the last service or MAP step in a flow, the declared output variables appear under Pipeline Out.