Configuring a JAX-WS client for WS-Transaction context
You can configure the way that a Java™ API for XML Web Services (JAX-WS) client handles Web Services Atomic Transaction (WS-AT) or Web Services Business Activity (WS-BA) context by configuring the Web Services Transaction (WS-Transaction) policy type. You can specify that the client must send context, can send context if it is available, or must not send context.
Before you begin
A JAX-WS client must be installed.
About this task
To configure a JAX-WS client for WS-Transaction context by using the administrative console, complete the following steps.
Procedure
- Create a new policy set, or copy and rename an existing policy set. You can copy an existing user-defined policy set, or one of the WS-Transaction default policy sets (WSTransaction or SSL WSTransaction). See Creating policy sets using the administrative console.
- Check that your policy set includes the WS-Transaction policy type. If necessary, add the WS-Transaction policy type. See Adding policies to policy sets using the administrative console.
- Configure the WS-Transaction policy.
- Associate the policy set with the JAX-WS client. See Managing policy sets and bindings for service clients.
- Choose a WS-Policy application rule that includes the configured policy of the client, that is, client only or client and provider. See Configuring the client policy to use a service provider policy.
- 將您所做的變更儲存到主要配置.