Use this administrative console task to view the detail of your
service client and to manage the policy sets for the service, its 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.
About this task
After you have developed a Web service that contains all the necessary
artifacts, deployed your Web services application into your application server
instance; now you can view the detail of your service client, endpoints and
operations. You can attach, detach policy sets and manage the associated bindings.
If
a policy set is directly attached to a service client, endpoint or operation,
the policy set name appears; for example, RAMP default. If
there is no policy set attached, but a policy set is attached at a higher
level, the policy set name appears with inherited appended
to it; for example, RAMP default(inherited). If there is
no policy set attached directly or at a higher level item, then None is
displayed.
Every resource attachment of a policy set has an assigned
binding. If the resource has a policy set directly attached, the binding name,
for example, MyBindings1 or Default is displayed.
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 inherited binding, then Not
applicable is displayed.
Procedure
- Open the administrative console.
- In the navigation pane, expand Services > Service clients > Service_client_application_instance.
- Select one or more service, endpoints and operations of interest
and view the associated service, endpoints and operations.
- Perform any of the following actions:
- Click Attach, to attach a policy set to a selected service, endpoint
or operation.
- Click Detach, to detach a policy set from a list of attached policy
sets for a service, endpoint or operation.
- Click Assign Binding, to assign default, existing or new binding
information. If multiple service, endpoints and operations are selected,
you must attached them to the same policy set, or compatible policy sets.
Results
When you finish this task, a policy set is attached, detached or a
binding is assigned to the service artifact.
Example
You have configured a service client, EchoService12 in
the application instance, WSSampleClientSei. Now you want to attach the WSSecurity
default policy to the EchoService12Port endpoint of the EchoService12 service
client. First locate EchoService12 in the Services
> Service clients collection. Click the EchoService12 service
client. Select the check box for the columoService12Port resource
and click Attach. Select the WSSecurity default policy from
the list. Click Save, to save your changes to the master configuration.
What to do next
You can now proceed to manage policy sets and bindings for service
clients at the application level using the administrative console.