WebSphere Application Server Version 6.1 Feature Pack for Web Services
             Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows, z/OS

             Personalize the table of contents and search results
             New or updated topic for this feature pack

Creating custom bindings for policy set attachment

After you attach a policy set to a service artifact such as an application, service, or endpoint, you can define custom bindings for the attached policy set.

Before you begin

Before you can start this task, you must deploy an application containing Web services, and attach a policy set.

About this task

The custom 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 custom binding panels do not display an option to configure WS-ReliableMessaging bindings. To create custom bindings for an attached policy set, perform the following steps:

Procedure

  1. Open the administrative console.
  2. Click Applications > Enterprise applications > application_name > Service provider policy sets and bindings.

    To create custom attachment bindings for a service client, click Applications > Enterprise applications > application_name > Service client policy sets and bindings.

  3. Select the check box for the service artifact with an attached policy set.
  4. Click Assign Binding to see a list of available bindings to assign. Click New.
  5. [Optional] Select a previously defined custom attachment binding from the list.
  6. Specify a name for the binding and select which policies that you want to include in this custom binding. Click Add, and select the policies to add.
  7. Click a link for a policy set binding, and complete the information in the binding panels to define a policy set binding and its associated configuration data.
  8. Click Save, to save your changes to the master configuration.

Results

When you finish this task, a custom binding is created for the service artifact with the attached policy set.

Example

You have the application, app1 with the attached policy set WSSecurity default, and you want to define custom bindings. First locate the application in the Applications > Enterprise applications collection. Click the app1 application. You can then click the Service provider policy sets and bindings link or the Service client policy sets and bindings link. Select the check box for the app1 application where the policy set is attached. Click Assign Binding and click New. Specify a name for the binding, such as myBinding. Click Add and select WS-Security from the list. Next, click the link for WS-Security and complete the panels with the appropriate information. Click Save, to save your changes to the master configuration.

What to do next

Restart the application that contains the service artifact with the custom bindings you created.



In this information ...


IBM Redbooks, demos, education, and more


Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

IBM Suggests
Task topic    

Terms of Use | Feedback

Last updated: Nov 25, 2008 2:35:59 AM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.wsfep.multiplatform.doc/info/ae/ae/twbs_wsspscrb.html