WAS v8.5 > Administer applications and their environment > Administer web services (generally applicable) > Manage web services policy sets > Manage policies in a policy setModify 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.
- 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.
- Modify the settings. Depending on which Policy you choose, different settings can be modified.
- [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.
- 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:Save your changes and return to the Application policy sets window for the WSRM_p1 policy set.
- 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
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
- Configure the WS-ReliableMessaging policy
When working with policy sets in the dmgr console, we can customize some policies.- Configure the WS-Addressing policy
When working with policy sets in the dmgr console, we can add and configure policies to enable standard addressing of web services.- Configure the HTTP transport policy
When working with policy sets in the dmgr console, we can customize policies to ensure message security. We can customize the Hypertext Transfer Protocol (HTTP) transport policy configuration or use the policy as it is provided with the default settings.- Configure the JMS transport policy
We can define a JMS transport policy configuration if you are using SOAP over JMS with your JAX-WS applications.- Configure the WS-Transaction policy
When you work with policy sets in the dmgr console, we can configure the WS-Transaction policy type for the WS-AtomicTransaction (WS-AT) and the WS-BusinessActivity (WS-BA) protocols. We can configure whether a client propagates, and a server receives, a WS-AT context, and whether a client propagates, and a server receives, a WS-BA context.- Configure the WS-Security policy
When working with policy sets in the dmgr console, we can customize policies to ensure message security. The WS-Security policy can be configured to apply a message security (WS-Security) profile to requests. Message security policies are applied to requests and enforced on responses to support interoperability.- Configure the Custom properties policy
When working with policy sets in the dmgr console, we can customize policies to set generic properties that are not supported in other policy types. You must customize the Custom properties policy configuration because all properties within the policy are user-defined.
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