Integration Server 10.11 | Web Services Developer’s Guide | Defining Policies for Web Services (WS-Policy) | WS-Policy Files
 
WS-Policy Files
 
Moving or Copying Web Service Descriptors with Attached Policies
Guidelines for Creating WS-Policy Files
Policy ID
You save a policy in a policy file. Each policy file contains a WS-Policy definition based on the WS-Policy standard.
Integration Server comes with some policy files out of the box. For more information about out-of-the-box policies for:
*WS-Addressing, see WS-Addressing Policies Provided by Integration Server
*WS-Security, see Policies Based on WS-SecurityPolicy that Integration Server Provides
Additionally, you can create policy files. For more information, see Guidelines for Creating WS-Policy Files. Both out-of-the-box and user-defined policy files are stored in the following directory, which is called the policy repository:
Software AG_directory \IntegrationServer\instances\instance_name\config\wss\policies
At server startup, Integration Server validates the policies in the policy repository. Integration Server moves any policy that is invalid, for example, if it contains invalid XML syntax or structure, to the following subdirectory:
Software AG_directory \IntegrationServer\instances\instance_name\config\wss\policies\invalid
At server startup, Integration Server also deploys all the valid policies in the policy repository. That is, Integration Server makes the valid policies available for attachment to web service descriptors. You can attach policies to any web service descriptors.
Integration Server includes a policy manager that monitors the policies in the policy repository. As a result, when you add new policies to or update existing policies in the policy repository while Integration Server is running, the policy manager recognizes the new or updated policies and immediately validates them without requiring a server restart. If a new or updated policy is invalid, Integration Server moves it to the Software AG_directory \IntegrationServer\instances\instance_name\config\wss\policies\invalid directory. If a new or updated policy is valid, Integration Server deploys the policy so that it is available for attachment.
Note:
When Integration Servers are in a clustered environment, all servers in the cluster should have the same policy files.