Figure 1. Add Automatic Transactions to XML Web Services.
Take your data-centric applications to the next level by implementing transactions in them. The sample application shown here demonstrates several practical ways to implement transactions in code. Transactions are an integral part of this application, providing data consistency by rolling back changes made to product inventory quantities when an error occurs during the creation of an order or order detail record.