Integration Server 10.7 | Guaranteed Delivery Developer’s Guide | Creating a Flow Service that Uses Guaranteed Delivery | Sample Flow (Synchronous Request)
 
Sample Flow (Synchronous Request)
The following flow illustrates the basic steps you use to execute a synchronous transaction from a flow service.
Flow service that executes a synchronous transaction
Step
Invoke this Service...
To...
1
pub.remote.gd:start
Start the transaction. When you invoke this service, you specify the alias for the webMethods Integration Servers to which you want to submit a request as well as transaction-related parameters such as time-to-live and followid.
This service returns a tid as output.
Note:
Internally, this service opens a session on the server and performs startTx, so there is no need for you to explicitly open a session on the server like you must do in a Java guaranteed-delivery client.
2
pub.remote.gd:invoke
Invoke the service. You must provide the tid (produced by start, above), the name of the requested service, and the input values for that service as input.
This service returns the results from the remote service as output.
3
pub.remote.gd:end
End the transaction. You must call this service to clear the transaction from the job store. It takes the tid as input.