Network Deployment (Distributed operating systems), v8.0 > Administer applications and their environment > Administer web services (generally applicable) > Manage web services policy sets > Define and managing policy set bindings


Reassigning bindings to policy sets attachments

After you create a custom attachment binding, you can reassign that binding to another service artifact if necessary. We can reset a service artifact, such as an application, service, or endpoint to use the inherited bindings or default bindings. To reassign an application specific binding or a default binding, there must be an assigned binding for the service artifact. We can assign bindings to policy sets and other service artifacts. If you created a policy set and attached it to a service artifact, you can reassign the binding that was initially assigned to that policy set.


Procedure

  1. Open the admin console.

  2. To reassign a binding for your service provider, click Applications > Application Types > WebSphere enterprise applications > application_name > Service provider policy sets and bindings.

    To reassign a binding for your service client, click Applications > Application Types > WebSphere enterprise applications > application_name > Service client.policy sets and bindings.

  3. Select the check box for the service artifact with an attachment binding.

  4. Select Assign Binding.

  5. Select the binding to assign.

  6. Click Save, to save changes to the master configuration.


Results

The service artifact now inherits the policy set bindings that are indicated in either the Service provider policy sets and bindings or Service client.policy sets and bindings panel.

Restriction: Reassigning the binding for a service artifact only reassigns it for that service artifact and any inherited artifacts. It does not reassign the binding for other non-related and non-inherited attachments to the same policy set or to a different policy set.


Example

If we have the application, app1 with an attached policy set Username WSSecurity default, and to define custom bindings, then perform the following steps:

  1. Locate the application in the Applications > Application Types > WebSphere enterprise applications > application_name collection.

  2. Click the app1 application.

  3. Click the Service provider policy sets and bindings link or the Service client.policy sets and bindings link.

  4. Select the check box for theapp1 application where the custom attachment binding is defined.

  5. Click Assign Binding and select New.
  6. Provide a name for the application specific bindings.

  7. Add required policies to the new application specific bindings.

  8. Configure the bindings.

  9. Click Save, to save changes to the master configuration.


What to do next

Restart the application that contains the policy set where you reassigned the bindings.
Create application specific bindings for policy set attachment
Define and managing policy set bindings

+

Search Tips   |   Advanced Search