WS-Policy commands for the AdminTask object
You can manage WS-Policy settings for web service resources by using wsadmin scripting. You 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.
如果要執行這些指令,請使用 wsadmin Scripting 用戶端的 AdminTask 物件。每個指令都在單一作業中處理多個物件。 這些指令可供您以一致的方式來進行最常需要的更新類型,其中直接修改基礎物件很容易造成錯誤。
wsadmin Scripting 用戶端是從 Qshell 執行的。
如需相關資訊,請參閱「配置 Qshell 執行 WebSphere® Application Server Script」主題。
只有在搭配 WebSphere Application Server 第 7 版及更新版本的應用程式伺服器時,這些指令才有效。請勿搭配較舊的版本來使用它們。
The commands to manage WS-Policy settings for web service resources are part of the PolicySetManagement command group for the AdminTask object.
print AdminTask.help('PolicySetManagement')
print AdminTask.help('command_name')
AdminConfig.save()
The commands that are listed as subtopics are available to manage WS-Policy settings in the PolicySetManagement group of the AdminTask object.