WAS v8.5 > Administer applications and their environment > Administer web services (generally applicable) > Manage web services policy sets > Manage policies in a policy set

Modify policies

With your policy sets, we can define policies for WS-Addressing, WS-Security, WS-ReliableMessaging, WS-Transaction, HTTP transport, Java Messaging Service (JMS) transport, and SSL transport. The policies for all but WS-Security are relatively straightforward to define.

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

Polices are associated with policy sets, so we can change an instance of a policy for a particular policy set.

  1. Select the policy set containing the policy to modify. To customize the policies associated with a policy set, from the dmgr console, click:

    • Services > Policy sets > Application policy sets >policy_set_name. Click a policy name in the Policies table.
    • Or Services > Policy sets > System policy sets >policy_set_name. Click a policy name in the Policies table.

  2. Modify the settings. Depending on which Policy you choose, different settings can be modified.
  3. [Optional] If the policy to be modified is not already in the Policies table, click Add and select a policy from the list to modify.

  4. Save the changes we have made. Once you change the settings on a policy, you need to save the changes to return to the policy set.


Results

The policy set configuration is saved with the selected modifications.


Example

You have created a copy of the WSReliableMessaging persistent policy set and named it WSRM_p1. You want to change the settings on the WSReliableMessaging policy that is included, by default, in the copy of this policy set. So you click your WSRM_p1 policy set from the Application policy sets window and then click the WSReliableMessaging policy from the Policies table. We can then alter the following settings:

Standard

The default setting is WSReliableMessaging 1.1.

Deliver messages in the order they were sent

The default setting is false. Valid values are true or false.

Quality of service

The default is Unmanaged non-persistent
Save your changes and return to the Application policy sets window for the WSRM_p1 policy set.

We can use the policy set as we have configured or we can change the bindings, attach or detach the policy set from applications.

Because this policy set specifies managed persistent quality of service, we have to define bindings to the service integration bus and messaging engine to use to manage the WS-ReliableMessaging state. We can attach and bind a WS-ReliableMessaging policy set to a web service application using the dmgr console or wsadmin.


Subtopics


Related


Attaching a policy set to a service artifact
Manage policy sets
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.sh
Create policy set attachments using wsadmin
Remove policy set attachments using wsadmin
Manage policy set attachments using wsadmin
Attaching and binding a WS-ReliableMessaging policy set to a web service application
Attaching and binding a WS-ReliableMessaging policy set to a web service application using wsadmin


Reference:

Application policy sets page
Application policy set settings


+

Search Tips   |   Advanced Search