Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Service Development Help | Subscribing to Events | About Guaranteed Delivery Events | Guaranteed Delivery Events and Transaction Events
 
Guaranteed Delivery Events and Transaction Events
Guaranteed delivery events are related to transaction events (Tx Start and Tx End). Guaranteed delivery events begin when a client requests a guaranteed delivery transaction (GD Start) and when the client receives the results of the guaranteed delivery transaction (GD End). Transaction events occur when a service invoked using guaranteed delivery begins executing (Tx Start event) and when the service finishes executing (Tx End event).
The following diagram illustrates when guaranteed delivery events and transaction events occur during a guaranteed delivery transaction. In the following scenario, a local Integration Server uses guaranteed delivery to invoke a service on a remote server.
Figure 79. A Guaranteed Delivery Transaction generates Guaranteed Delivery Events and Transaction Events
Stage
Description
Stage 1
Service A uses guaranteed delivery to invoke Service B on the remote Integration Server. When the local server requests Service B, the local server generates a GD Start event. By default, the GD Start event is logged to the txoutyyyymmdd.log file.
Stage 2
The remote Integration Server receives the request and begins executing Service B. When the remote server begins executing Service B, the remote server generates a Tx Start event. By default, the Tx Start event is logged to the txinyyyymmdd.log file.
Stage 3
The remote Integration Server finishes executing Service B and generates a Tx End event. By default, the Tx End event is logged to the txinyyyymmdd.log file.
Stage 4
The remote Integration Server sends the results of Service B to the requesting client (here, the local Integration Server).
Stage 5
The local Integration Server receives the results of Service B and generates a GD End event. By default, the GD End event is logged to the txoutyyyymmdd.log file.
For details about guaranteed delivery, see the Guaranteed Delivery Developer’s Guide.