Using WS-Transaction policy to coordinate transactions or business activities for web services
You can use WS-Transaction policy to configure how a Java™ API for XML Web Services (JAX-WS) service or client handles Web Services Atomic Transaction (WS-AT) or Web Services Business Activity (WS-BA) context.
About this task
應用程式伺服器中的「Web 服務基本交易 (WS-AT)」支援提供了 Web 服務環境的交易服務品質。分散式 Web 服務應用程式和其使用的資源,可以參與分散式廣域交易。 利用應用程式伺服器中的「Web 服務商業活動 (WS-BA)」支援,不同系統上的 Web 服務可以協調比基本交易更加鬆散聯結的活動。這類活動在基本結構上可能很難或無法回復,因此如果發生錯誤,則需要補償程序。
Procedure
- Configure a JAX-WS client for WS-Transaction context.
- Configure a JAX-WS web service for WS-Transaction context.
- Configure the WS-Transaction policy.
- Configure a WS-Transaction policy set by using wsadmin scripting.
- Configure transaction properties for an application server.
- Configure the WS-Transaction specification level by using wsadmin scripting.
- Configure WS-Transaction support in a secure environment.
- Configure an intermediary node for web services transactions.
- Enable WebSphere Application Server to use an intermediary node for web services transactions.
- Configure a server to use business activity support.