SOA: Compensation Handling vs WS-AT
In SOA world there are multiple ways to handle failures within the services developed. Many projects makes usage of SOA / BPEL services which invokes other SOA / OSB services which are deployed in a different domain s. The most common one I see are has been the Compensation Handler For those not familair with it, the Compensation Handler is an alternative flow to be executed in case of Error or issues in your SOA Composites. Another alternative (when services are out of your domain) is the usage of WS-AT (Web Service Atomic Transactions). To use Global Transactions within Web Services you need to know if the services you are calling are supporitng it or not. More information of WS-AT (and how to enable it) is in: https://docs.oracle.com/en/middleware/ws-manager/12.2.1.3/wscpt/introduction-using-web-services-atomic-transactions.html#GUID-8D2891C8-641B-4A1A-910E-77946380A31F What is exactly WS-AT I am not going to repeat the documentation and explain it with my own w