Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Service Development | Building Flow Services | The INVOKE Step | Building an Invoke Step
 
Building an Invoke Step
Use the following procedure to invoke a service within a flow service. For information about how to can specify input/output validation for the service, see Specifying Input/Output Validation via the INVOKE Step.
*To build an INVOKE step
1. Open the flow service in which you want to invoke another service. In the editor, select the step immediately above where you want to insert the INVOKE step.
2. Do one of the following:
*Click the button next to on the flow service editor toolbar and click . In the Open dialog box, navigate to the service you want to invoke.
*Click by the side of the flow service editor to open the Palette view and select the flow step that you want to insert and drag it to the flow service editor.
*Select one or more services in Package Navigator view and drag them to the desired position within the flow in the editor. The services must reside on the same server as the flow service.
3. Complete the following fields in the Properties view:
For this property...
Specify...
Service
The fully qualified name of the service that will be invoked at run time. When you insert a service, Designer automatically assign the name of that service to the Service property. If you want to change the service that is invoked, specify the service’s fully qualified name in the format folderName:serviceName or click and select a service from the list.
Timeout
Optional. Specifies the maximum number of seconds that this step should run. If this time elapses before the step completes, Integration Server issues a FlowTimeoutException and execution continues with the next step in the service.
If you want to use the value of a pipeline variable for this property, type the variable name between % symbols. For example, %expiration%. The variable you specify must be a String.
If you do not need to specify a time-out period, leave Timeout blank.
For more information about how Integration Server handles flow step timeouts, refer to the description of the watt.server.threadKill.timeout.enabled configuration parameter in webMethods Integration Server Administrator’s Guide.
Validate input
Whether or not you want the server to validate the input to the service against the service input signature. Select True to validate the input. Select False if you do not want to validate the input.
Validate output
Whether or not you want the server to validate the output of the service against the service output signature. Select True to validate the output. Select False if you do not want to validate the output.
4. If necessary, on the Pipeline view, link Pipeline In variables to Service In variables. Link Service Out variables to Pipeline Out variables. For more information about linking variables to a service, see About Linking Variables.
5. Click File > Save.
Tip:
In Designer, clicking the button next to or opening the Palette view displays a list of commonly used services. You can edit the Window > Preferences > Software AG > Service Development > Flow Service Editor preferences to customize this list of services to suit your needs.