Use this administrative console task to manage policy sets for
an application or its services, endpoints, and operations.
Before you begin
Before completing this task, you need to install the IBM WebSphere
Application Server Version 6.1 Feature Pack for Web Services and deploy a
Java API for XML Web Services (JAX-WS) application.
About this task
You have developed a Web service that contains all the necessary
artifacts and deployed your Web services application into your application
server instance. Now, you can attach or detach policy sets and manage the
associated bindings. The policy set information is displayed in the Attached
Policy set column. If a policy set is directly attached, then the policy set
name appears, RAMP default, for example, is displayed. If
there is no policy set attached, and a policy set is attached at a higher
level, then inherited is appended to the policy set name, as the following
example demonstrates: RAMP default (inherited). If there
is no policy set attached directly or at a higher level, then None is
displayed.
Every attachment of a policy set to a resource has an assigned
binding. The binding information is displayed in the Binding column. If the
resource has a policy set directly attached, then either the binding name,
for example, MyBindings1 or Default appears.
If a resource inherits a policy set, the resource also inherits the binding
associated with that policy set and the name of the binding has inherited appended
to it, for example, MyBindings1(inherited) or Default(inherited).
If the resource does not have a directly attached or an inherited binding,
thenNot applicable is displayed.
Procedure
- Open the administrative console.
- In the navigation pane, click Applications > Enterprise
Applications > Service_provider_application_instance > Service
provider policy sets and bindings.
- Select the check box next to the Application/Service/Endpoint/Operation column.
- Click Attach to attach a policy set to an application, service,
endpoint or operation.
- [Optional] Click Detach to detach a policy set from a list
of attached policy sets for an application, service provider, endpoint or
operation.
- Click Assign Binding to assign default, existing or new
binding information to a policy set.
Results
When you finish this task, a policy set is attached or detached, and
a binding is assigned to the service artifact.
Example
If you have configured a service provider application instance, app1 and
you want, for example, to attach WSSecurity default policy
to your service artifact, first locate app1 application in
the Applications > Enterprise Applications > Service_Provider_application_instance > Service
provider policy sets and bindings collection. Click the app1 service
provider application. Select the check box next to the Application/Service/Endpoint/Operation column.
Click Attach. Select WSSecurity default policy from
the list. Click Save, to save your changes to the master configuration.
What to do next
You can proceed to view service providers at the cell level using
the administrative console.