WAS v8.5 > Administer applications and their environment > Administer web services (generally applicable) > Manage web services policy sets > Manage policies in a policy set > Modify policies

Configure the Custom properties policy

When working with policy sets in the dmgr console, we can customize policies to set generic properties that are not supported in other policy types. You must customize the Custom properties policy configuration because all properties within the policy are user-defined. This dmgr console page applies only to JAX-WS applications.

We can configure generic properties that are not supported in other policy types with the Custom properties policy. These additional properties are set in the binding. The Custom properties policy provides an alternative way to set a binding property instead of using the JAX-WS programming model to set the property on the BindingProvider object. The CustomProperties binding is only supported for service clients.

After we have created a new policy set with the Custom properties policy added, create a Custom properties binding and add at least one custom property to configure the binding. A Custom properties binding type can be added to a general client binding or an application specific client binding. We cannot create an empty Custom properties binding. You must define at least one name and value pair within the binding.

In a mixed cell environment, the following limitations apply to attachments to policy sets containing CustomProperties policy:

mixv

  1. Create the Custom properties policy.

    1. cd Application policy sets or the System policy sets From the dmgr console, click Services > Policy Sets > Application policy sets or Services > Policy Sets > System policy sets.

    2. Click the New... button.

    3. Enter a unique policy set name.

    4. Click the Add button and choose the Custom properties policy in the Policies table.

    5. Click the Apply button.

    6. Click the Save link.

    We cannot configure the Custom properties policy from this panel. You must configure your Custom properties with a Custom properties binding.

  2. Customize the Custom properties bindings.

    1. cd Custom properties bindings. From the dmgr console, click Services > Policy Sets > General client policy set bindings > client_policy_set_binding_name.

    2. Click Add > Custom properties.

      The Custom properties (bindings) window displays options for adding Custom properties bindings.

    3. Specify the properties for each custom property to add. The following fields are required:

      Name

      Displays the name of the custom property.

      Value

      Displays the value of the custom property.

      The application specific bindings can be customized similarly, from the application policy set and bindings attachments panel.


Results

After we have customized the Custom properties policy, the associated policy set uses this policy to set generic properties that are not supported in other policy types.


Subtopics


Related


Configure the SSL transport policy
Add policies to policy sets
Delete policies from policy sets
Enable policies for policy sets
Disable policies from policy sets
Web services policies


Reference:

Application policy sets page
Application policy set settings
CustomProperties policy and binding properties


+

Search Tips   |   Advanced Search