Editing policy set bindings

You can create and edit existing policy set binding configurations by using the binding stand-alone editors.

About this task

Important: Applicable to WebSphere® Application Server traditional

Applications (both web service providers and clients) might contain binding configurations that are stored within the application EAR file in the META-INF folder for managed applications, and within the project src folder for the thin client project. The policy set binding stand-alone editors abstract these configurations to the level of the service and the client. In the Services view, you can edit or create binding configurations that invoke the editors without knowing the location of these files.

You can use the stand-alone editor to:
  • Create a new set of binding configuration and add it to the application
  • Edit existing binding configurations that are already within the application

To attach the binding configurations being created or edited to the application endpoints you must use the policy set attachment wizard.

Creating a binding configuration based on a template

Procedure

  1. Open the Services view.
  2. Select the web service provider or client under the JAX-WS tree.
  3. Right-click and select Configure Bindings > Add Binding configuration. The Create Binding Configuration dialog opens.
    1. Binding name: Enter the name of the binding set.
    2. Template: Select from a pre-existing template that is based on the WebSphere Application Server general bindings, or an empty binding skeleton.
    3. Policy types: Select from the list of all binding policy types that are supported by the server.

Results

A folder with the specified binding name is created, and the binding files from the template are copied into that folder. An editor for each policy type is launched with which you can configure each policy type binding.

Editing an existing binding configuration for an application

Procedure

  1. Open the Services view.
  2. Select the web service provider or client under the JAX-WS tree.
  3. Right-click and select Configure Bindings > Edit Binding configuration. The Configure Bindings dialog opens.
  4. You can clear the checkbox next to any policy type to remove it from the binding, or leave all policy sets as they are. When you click OK, an editor for each policy type is launched with which you can configure each policy type binding.

Adding a binding configuration to an existing binding based on a template

Procedure

  1. Open the Services view.
  2. Select the web service provider or client under the JAX-WS tree.
  3. Right-click and select Configure Bindings > Add Binding configuration. The Create Binding Configuration dialog opens.
    1. Binding name: Enter the name of the binding set you previously created and want to extend.
    2. Template: Select from a pre-existing template that is based on the WebSphere Application Server general bindings, or an empty binding skeleton.
    3. Policy types: Select from the list of all binding policy types that are supported by the server. Policy sets that are already configured for this binding are not selected by default. If you want to launch the editor for a policy type, select that policy set.
      Note: Selecting an already configured policy set generates a warning because the previous binding configuration for that policy set type is lost.

Results

The new binding files from the template are copied into the bindings folder. An editor for each policy type is launched with which you can configure each policy type binding.

Icon that indicates the type of topic Task topic
Timestamp icon Last updated: July 17, 2017 21:58

File name: tpseditbind.html