Administration Console Online Help

Previous Next Open TOC in new window
Content starts here

Configure Web service atomic transactions

Before you begin

You must install a Web service before you can configure atomic transactions. See Install a Web service.


Note: This section applies to JAX-WS Web services only.

WebLogic Web services enable interoperability with other external transaction processing systems, such as Websphere, JBoss, Microsoft .NET, and so on, through the support of the following specifications: WS-AtomicTransaction Version 1.2 and WS-Coordination Version 1.2.

These specifications define an extensible framework for coordinating distributed activities among a set of participants. The coordinator is the central component, managing the transactional state (coordination context) and enabling Web services and clients to register as participants.

At development time, you can enable Web services atomic transactions using the @weblogic.wsee.wstx.wsat.Transactional annotation in the JWS file or client application, or by passing the weblogic.wsee.wstx.wsat.TransactionalFeature as a parameter when creating the Web service client. For more information about these annotations, see "Using Web Service Atomic Transactions" in Programming Advanced Features of JAX-WS Web Services for Oracle WebLogic Server.

At deployment time, you can configure Web service atomic transaction properties at the domain, Web service endpoint, and Web service operation levels.

At the domain level, you set properties to configure the atomic transaction coordinator and participant, including:

At the Web service endpoint or operation level, you can enable Web service atomic transactions, and configure the ffollowing information:

For more information about Web service atomic transactions, see "Using Web Service Atomic Transactions" in Programming Advanced Features of JAX-WS Web Services for Oracle WebLogic Server.

The following steps describe how to configure Web services atomic transactions:

  1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
  2. To secure messages exchanged between the coordinator and participant (at the domain level):
    1. In the left pane of the Administration Console, select the name of the domain that you want to configure.
    2. In the right pane, select the JTA tab.
    3. Expand the Advanced properties.
    4. Set the following flags to configure the atomic transaction coordinator and participant, as desired:
      • Web Service Transactions Transport Security Mode
      • Web Service Transactions Issued Token Enabled
    5. Click Save.
  3. To enable and configure Web service atomic transactions (at the Web service or client endpoint or operation level):
    1. In the left pane of the Administration Console, select Deployments.
    2. In the right pane, navigate within the Deployments table until you find the Web service or client for which you want to view the configuration.

      Note: Web services are deployed as part of an Enterprise application, Web application, or EJB. To understand how Web services are displayed in the Administration Console, see View installed Web services.

    3. In the Deployments table, click the name of the Web service or client.
    4. Select Configuration > Ports, then click the name of the endpoint or operation for the Web service or client that you want to configure.
    5. (Web service or client endpoint page only) Select the Atomic Transaction tab.
    6. Click Customize Atomic Transactions Configuration.
    7. Click Enabled to enable Web services atomic transactions.
    8. Set the Flow Type and Version properties, as required.
    9. Click Save.
  4. To activate these changes, in the Change Center of the Administration Console, click Activate Changes.
    Not all changes take effect immediately—some require a restart (see Use the Change Center).

Back to Top