Network Deployment (Distributed operating systems), v8.0 > Reference > Commands (wsadmin scripting)
WS-Policy commands
We can manage WS-Policy settings for web service resources using wsadmin.sh. We can view or manage how a service provider shares its policies, and how a service client obtains and applies the policies of a service provider.
To run these commands, use the AdminTask object of the wsadmin scripting client. Each command acts on multiple objects in one operation. The commands are provided to allow you to make the most commonly-required types of update in a consistent manner, where modifying the underlying objects directly would be error-prone.
These commands are valid only when they are used with WAS v7 and later application servers. Do not use them with earlier versions.
The commands to manage WS-Policy settings for web service resources are part of the PolicySetManagement command group .
For a list of the available policy set management administrative commands, plus a brief description of each command, run at the wsadmin prompt:
print AdminTask.help('PolicySetManagement')
For overview help on a given command, run at the wsadmin prompt:
print AdminTask.help('command_name')
After using these commands, save changes to the master configuration. For example, use the following command:
AdminConfig.save()
The commands that are listed as subtopics are available to manage WS-Policy settings in the PolicySetManagement group of the AdminTask object.
Related
getProviderPolicySharingInfo command
setProviderPolicySharingInfo command
getClientDynamicPolicyControl command
setClientDynamicPolicyControl command
Configure application and system policy sets for web services using wsadmin.sh