Integration Server 10.15 | Web Services Developer’s Guide | Defining Policies for Web Services (WS-Policy) | About Updating WS-Policies
 
About Updating WS-Policies
You can update WS-Policies that reside in the policy repository. Integration Server logs information about the update.
Keep the following in mind when updating policies:
*Ensure that the updated policy still works with the WS-Policy 1.2 standard.
*Ensure that the updated policy still includes only policy assertions that Integration Server supports. For information about supported policy assertions, see Guidelines for Creating WS-Policy Files.
*Avoid changing the policy ID if the policy is already attached to web service descriptors. In this case, Integration Server acts as if the policy is missing because it cannot find a policy with old policy ID. Also, if you change the policy ID to the ID of an existing policy (i.e., a duplicate policy ID), the policy becomes invalid.
The Integration Server policy manager recognizes updated policies in the policy repository and immediately validates them. If an updated policy is valid, web service descriptors associated with the policy begins using the updated policy. If an updated policy is invalid, Integration Server moves it to the following directory:
Software AG_directory \IntegrationServer\instances\instance_name\config\wss\policies\invalid
When the policy is invalid or missing, web service descriptors associated with the policy will not behave as expected. For provider web service descriptors, Integration Server will not be able to handle requests for operations contained in the provider web service descriptor. For consumer web service descriptors, the execution of the web service connectors will fail stating that the policy is not found.