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 物件。每個指令都在單一作業中處理多個物件。 這些指令可供您以一致的方式來進行最常需要的更新類型,其中直接修改基礎物件很容易造成錯誤。

[IBM i]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.

如需可用於管理原則集的管理指令清單,以及每個指令的簡要說明,請在 wsadmin 提示下,輸入下列指令:

print AdminTask.help('PolicySetManagement')

如需給定指令的概觀說明,請在 wsadmin 提示下,輸入下列指令:

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.


指出主題類型的圖示 參照主題



時間戳記圖示 前次更新: July 9, 2016 11:14
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rwbs_wsp_cmnds
檔名:rwbs_wsp_cmnds.html