WAS v8.5 > Reference > Commands (wsadmin scripting)

CustomProperties policy and binding properties

Use the -attributes parameter for the setBinding command to specify additional configuration information for the CustomProperties policy set binding. Application and system policy sets can use the CustomProperties policy and binding.

WAS v8.5 supports using the CustomProperties policy and binding to set generic properties that are not supported in other policy types. The additional properties are set in the binding. You must only update existing properties, such as the enabled attribute, in the policy. The CustomProperties 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.

Use the following commands and parameters in the PolicySetManagement group of AdminTask to customize your policy set configuration.

If a property name or value supplied with the -attributes parameter is not valid, then the setPolicyType and setBinding commands fail with an exception. The property not valid is logged as an error or warning in the SystemOut.log file. However, the command exception might not contain the detailed information for the property that caused the exception. When the setPolicyType and setBinding commands fail, examine the SystemOut.log file for any error and warning messages that indicate the input for the -attributes parameter contains one or multiple properties that are not valid.

IBM recommends using the HPEL log and trace infrastructure. With HPEL, one views logs using the LogViewer command-line tool in PROFILE/bin.

The following setBinding example command demonstrates how we can use the CustomProperties binding to set a value for the WSADDRESSING_DESTINATION_EPR endpoint reference binding property:

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

mixv


Related concepts:

Web services policies


Related


Add and remove policies using wsadmin.sh
Troubleshoot applications with HPEL


+

Search Tips   |   Advanced Search