+

Search Tips   |   Advanced Search

Set the WS-Addressing policy


When working with policy sets in the admin 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. You 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 admin console.

 

  1. In the navigation pane of the admin 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 the changes to the master configuration.

 

Results

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


WS-Addressing policy settings

 

Related tasks


Add policies to policy sets
Delete policies from policy sets
Enable policies for policy sets
Disable policies from policy sets
Web services policies
Add and remove policies using wsadmin
Create policy set attachments using wsadmin
Remove policy set attachments using wsadmin
Manage policy set attachments using wsadmin
Enable Web Services Addressing support for JAX-RPC applications
Modify policies

 

Related


Application policy sets collection
Application policy set settings
Web Services Addressing policy set binding