showWSNServicePoint command
Use the showWSNServicePoint command to show the properties of a WS-Notification service point.
Before you begin
如果要執行這個指令,請使用 wsadmin Scripting 用戶端的 AdminTask 物件。
wsadmin Scripting 用戶端是從 Qshell 執行.
如需相關資訊,請參閱利用 wsadmin Script 配置 Qshell 來執行 WebSphere Script.
服務整合匯流排指令有指令行說明:
- 如需可用的 WS-Notification 指令清單,以及每個指令的簡要說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('WSNotificationCommands')
- 如需給定指令的概觀說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('command_name')
Purpose
匯流排成員上有 WS-Notification 服務點,意指這個匯流排成員會顯現 WS-Notification Web 服務,並使得這個 WS-Notification 服務之通知分配管理系統、訂閱管理程式和發佈者登錄管理程式的 Web 服務端點,都會顯現在服務點所相關聯的匯流排成員上。WS-Notification 應用程式利用這些端點來與 WS-Notification 服務互動。
This command
shows the properties of a WS-Notification service point in a human-readable
form. There are two patterns for use of this command:
- The required service point is determined by the target service point.
- The required service point is determined by a combination of the target WS-Notification service, and the service point name provided as a parameter.
Target object
There are two choices for
the target type of this command:
- WSNServicePoint (explicitly nominates the WS-Notification service point to be shown).
- WSNService (determines the required WS-Notification service; must be used in combination with the name parameter).
Required parameters
None.
Conditional parameters
- -name
- The name of the WS-Notification service point to be displayed. This must be specified if the target type is WSNService, and must not be specified if a WSNServicePoint target is supplied.
Optional parameters
None.
Examples
Show the properties of the WS-Notification
service point newServicePoint created in the example from topic "Creating a new WS-Notification
service point by using the wsadmin tool":
- Using Jython:
AdminTask.showWSNServicePoint(newServicePoint)
- Using Jacl:
$AdminTask showWSNServicePoint $newServicePoint
Show the properties of the WS-Notification service point newServicePoint,
created in the example from topic "Creating a new WS-Notification
service point by using the wsadmin tool", by using the WSNService target
pattern:
- Using Jython:
AdminTask.showWSNServicePoint(newService, ["-name", "newServicePoint"])
- Using Jacl:
$AdminTask showWSNServicePoint $newService {-name newServicePoint}