Create application specific bindings for policy set attachment
Overview
After you attach a policy set to a service artifact such as an application, service, or endpoint, we can define application specific bindings for the attached policy set.
Before we can start this task, deploy an application containing Web services, and attach a policy set.
The application specific binding panels display options based on the definitions in the attached policy set. For example, if the policy set does not have WS-ReliableMessaging configured, then the application specific binding panels do not display an option to configure WS-ReliableMessaging bindings.
Create application specific bindings for an attached policy set
- Open the admin console.
- To create application specific bindings for a service provider policy attachment, click...
Applications | Application Types | WebSphere enterprise apps | Service_provider_application_instance | Service provider policy sets and bindings
To create application specific bindings for a service client policy attachment, click...
Applications | Enterprise applications | myapp | Service client policy sets and bindings
- Select the check box for the service artifact with an attached policy set.
- Click Assign Binding to see a list of available bindings to assign.
- [Optional] Select a previously defined application specific attachment binding from the list.
If we decide to create a new application specific binding, complete steps 6 through 9.
- Click New.
- Specify a name for the binding and select which policies that you want to include in this application specific binding. Click Add, and select the policies to add.
- Complete the information for the specified policies to define associated configuration data.
- Click Save, to save the changes to the master configuration.
Results
When you finish this task, a application specific binding is created for the service artifact with the attached policy set.
Example
we have the application, app1 with the attached policy set Username WSSecurity default, and you want to define application specific bindings. First locate the application in the...Applications | Application Types | WebSphere enterprise apps collection
Click the app1 application.
We can then click...
Service provider policy sets and bindings
...or...
Service client policy sets and bindings
Select the check box for the app1 application where the policy set is attached. Click...
Assign Binding | New
Specify a name for the binding, such as myBinding. Click...
Add | WS-Security
Next, click the link for WS-Security policy and complete the panels with the appropriate information. Click Save, to save the changes to the master configuration.
Next steps
Restart the application that contains the service artifact with the application specific bindings you created.
Related tasks
Attach a policy set to a service artifact
Set service client or provider bindings
Set policy set bindings
Create new or configuring existing general binding settings