IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Access web services using web service bindings

Policy sets

Policy sets reduce the complexity of configuring web services by providing reusable configurations.

A policy set is a collection of policy types, each of which provides a quality of service. These types have been configured and can be associated with a web service provider or consumer. Policy sets work in pairs. You must have the same policy set on the service requester as on the service provider. Therefore, on an export, you should have the same policy set on the export binding as on the client. On an import, you should have the same policy set on the import binding as on the service provider it is calling.

A policy set can be associated with imports and exports. Only the SOAP1.2/HTTP and the SOAP1.1/HTTP transport protocols support policy sets. A policy set cannot be associated with the SOAP1.1/HTTP using JAX-RPC transport protocol.

In this section, we show you where to find the policy set properties and how to set them on the web services binding.

  1. To see the policy set properties, select your import or export and then select the properties view.

  2. Click the Policy Sets tab.
  3. No policy set is specified by default. To select a policy set for your operations, make your selection from the drop-down list of the Default policy set field. A description is shown for each policy set.

    The complete list of available policy sets with the product including a description of each one can be found by selecting Window > Preferences from the menu bar and selecting Service Policies from the list of preferences.

  4. Select a binding from the Binding drop-down list. It is used to configure how the server implements the default policy set. A description is shown for each binding.

  5. Once you have selected your policy set and binding, save the configuration.

Policy sets can be exported from a WebSphere server as discussed in Export policy sets to client or server environments. To import a policy set into IBM Integration Designer, use the import utility (File > Import from the menu bar). Select Web services > WebSphere Policy Sets on the following page and import the policy set.

A Web Services Security (WS-Security) policy set cannot be applied to unreferenced attachments. You can use transport level security, that is, HTTPS instead of HTTP, which makes the entire HTTP message including attachments secure.

More information on policy sets can be found in the IBM Redbook WebSphere Application Server Web Services Guide.

If security is important for your application, this book also contains a section called on secure conversation that you should read.

Access web services using web service bindings