When working with policy sets in the administrative console, you
can add policies to enable support for WS-AtomicTransaction. You can include
the WS-Transaction policy in a policy set but it has no properties to configure.
Before you begin
You can configure some settings for default policies for custom policy
sets or use them as they are provided. (The provided default policy sets cannot
be edited.) So be sure you have created a copy of the default policy set or
created a completely new policy set in order to specify the policies for it.
About this task
Use the WS-Transaction policy to enable the support for WS-AtomicTransaction.
Any active global transaction context is propagated with a Web
service request, and the service runs under any received WS-AtomicTransaction
context. Adding a WS-Transaction policy is analogous to setting the following
deployment descriptors that are associated with an EJB or Web module: Use
Web Services Atomic Transaction, Send Web Services Atomic Transaction on requests,
and Execute using Web Services Atomic Transaction on incoming requests.
Procedure
- Select the policy set in which to include the WS-Transaction policy.
From the administrative console, click Services > Policy sets > Application
policy sets > policy_set_name.
- Add the WS-Transaction policy. In the Policies table,
click Add and select the WS-Transaction policy from the listing. The
WS-Transaction policy is included in the policy set.
Results
After you have included the WS-Transaction policy in a policy set,
the associated policy set uses this policy to enable the support for WS-AtomicTransaction.