+

Search Tips   |   Advanced Search

Configure the WS-Addressing policy

When working with policy sets in the administrative console, we can add and configure policies to enable standard addressing of web services.

We can specify policies for custom policy sets. The provided default policy sets cannot be edited. We must create a copy of the default policy set or create a completely new policy set in order to specify the policies for it.

Add a WS-Addressing policy enables the support for WS-Addressing. This support provides a standard way to address Web services and include addressing information in messages. Adding a WS-Addressing policy is equivalent to configuring the WSDL file for the web service to specify that WS-Addressing should be used.

To specify or configure the policies associated with a policy set, use the administrative console.


Tasks

  1. In the navigation pane of the administrative console, click Services > Policy sets > Application policy sets > policy_set_name > [Policies] WS-Addressing. The WS-Addressing settings pane is displayed.

  2. Select WS-Addressing is mandatory to specify that WS-Addressing information must be included in SOAP message headers. For servers, this setting means that the server returns a fault if it receives a message that does not contain a WS-Addressing header. For clients, this setting means that WS-Addressing headers are always added to SOAP messages. If we have enabled WS-Policy, this requirement is communicated between servers and clients that support WS-Policy.

  3. In the Messaging style box, select the message exchange pattern to use:

    • Synchronous and asynchronous. The targeting of response messages is not restricted.
    • Synchronous only. Response messages must be targeted at the WS-Addressing anonymous URI.
    • Asynchronous only. Response messages must not be targeted at the WS-Addressing anonymous URI.

  4. Click OK.

  5. Save changes to the master configuration.

After we have included the WS-Addressing policy in a policy set, the associated policy set uses this policy to address web services.


Subtopics

  • Add policies to policy sets
  • Deleting policies from policy sets
  • Enable policies for policy sets
  • Disable policies from policy sets
  • Web services policies
  • Add and remove policies
  • Create policy set attachments
  • Remove policy set attachments
  • Manage policy set attachments
  • Enable Web Services Addressing support for JAX-RPC applications
  • Application policy sets collection
  • Application policy set settings
  • Web Services Addressing policy set binding