Configuring a JAX-WS Web service for WS-Transaction context

You can configure the way that a Java API for XML Web Services (JAX-WS) service 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 Web service must receive context, can receive context if it is available, or must not receive context.

Before you begin

A JAX-WS client must be installed.

About this task

You can configure a WS-Transaction policy set by using the administrative console as described in this task, or you can configure a WS-Transaction policy set by using wsadmin scripting.

To configure a JAX-WS service for WS-Transaction context by using the administrative console, complete the following steps.

Procedure

  1. 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.
  2. 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.
  3. Configure the WS-Transaction policy.
  4. Associate the policy set with the JAX-WS Web service, endpoint, or operation for which the specified behavior is required. See Managing policy sets and bindings for service providers.
  5. Save your changes to the master configuration.

Results

The JAX-WS Web service, endpoint, or operation is configured to use WS-Transaction context in the way that you specified.



In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Feb 5, 2014 9:49:51 PM CST
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-nd-mp&topic=twbs_wstx_config_ser
File name: twbs_wstx_config_ser.html