Modify the description, Enabled dynamic topic
namespaces?, Requires registration, JAX-WS handler
list and Query WSDL properties of a Version 7.0 WS-Notification
service, and follow links to complete advanced configuration such as adding additional
WS-Notification service points, applying topic namespace documents to permanent topic namespaces,
and applying policy sets to enable WS-ReliableMessaging.
About this task
WS-Notification 服務可供顯現服務整合匯流排上所定義的部分或全部傳訊資源,供 WS-Notification 應用程式使用。
處理程式清單定義發出出埠 Web 服務呼叫時所適用的處理程式,例如,監視出埠事件通知(回應訂閱作業)以及控制隨需型發佈者(訂閱、暫停和回復)。
當您建立 7.0 版 WS-Notification 服務時,精靈會建立和部署 JAX-WS 型提供者應用程式。
這個應用程式會顯現若干 WS-Notification Web 服務介面,分別用於三個 WS-Notification 服務角色:
- 通知分配管理系統
- 訂閱管理程式
- 發佈者登錄管理程式
You can also configure custom properties to specify a timeout time for outbound requests, and to
determine the strictness of the syntax checking of topics used under this Version 7.0
WS-Notification service.
Procedure
- Start the administrative console.
- Navigate to
or . The WS-Notification 服務 [集合] form is displayed.
- In the content pane, click the name of a Version 7.0 WS-Notification service in the list. The current settings for this Version 7.0 WS-Notification service are displayed in the
WS-Notification 服務 [設定] panel.
- Modify the following general properties:
- 說明
- 啟用動態主題名稱空間?
也就是說,這個服務是否容許在執行時期建立動態主題名稱空間。 For more information, see Dynamic topic namespace.
請利用這個選項來嚴格控制連接到特定 WS-Notification 服務時所用的主題名稱空間(例如,為了安全或審核需求)。
如果您取消選取這個選項,任何從動態主題名稱空間連接到 WS-Notification 服務和要求主題的應用程式,都會無法發佈或接收訊息。
在所有發佈到動態主題名稱空間的訊息中,都會插入可靠持續性的預設訊息可靠性設定。
如果這個值無法接受,請建立一個永久主題名稱空間,將屬性手動配置成適當的值。
Note: 特定 WS-Notification 服務上所用的動態主題名稱空間,受建立主題名稱空間時所自動建立的服務整合匯流排主題空間支持。
這個主題空間內所用的主題語法,是在 WS-Notification 服務實作之內。
- Requires registration
- JAX-WS 處理程式清單
-
處理程式清單定義發出出埠 Web 服務呼叫時所適用的處理程式,例如,監視出埠事件通知(回應訂閱作業)以及控制隨需型發佈者(訂閱、暫停和回復)。
如需處理程式清單的相關資訊,請參閱配置 JAX-WS 處理程式。
- 查詢 WSDL
指出當 7.0 版 WS-Notification 服務與其他各項 WS-Notification Web 服務互動時,是否查詢它們的 WSDL。
依預設,會啟用這個選項。您可以清除這個選項,避開高成本的 WSDL 查詢來改進效能。
不過,未啟用 WSDL 查詢時,您應該注意下列注意事項:- WS-Notification 會嘗試利用其他方法來探索連結資訊(通常是透過 WSDL 來探索)。WS-Notification 使用建立訂閱(由其他 Web 服務建立)或建立受管理訂閱(由管理者建立)之 WS-Notification 服務點的相關 SOAP 版本。
- 在某些情況下,WS-Notification 可能無法判斷連結資訊。
當清除刪除了相關服務點,以及清除配置資訊已不再可用的訂閱時,就可能發生這個情況。
在這些情況之下,WS-Notification 會在連結資訊上進行「最佳猜測」,用來清除訂閱。
- 有一種實務會使用不正確的連結資訊。
也就是說,當訂閱者訂閱要使用特定 SOAP 連結時,它所要代表的 NotificationConsumer 卻預期通知會透過不同的 SOAP 連結。
- Modify the additional properties:
- WS-Notification 服務點
- For more information, see 建立新的 7.0 版 WS-Notification 服務點 or Modifying a Version 7.0 WS-Notification service point.
- 永久主題名稱空間
- For more information, see Permanent topic namespace. 您在建立新的 WS-Notification 永久主題名稱空間時,指定名稱空間,並將它關聯於定義了母項 WS-Notification 服務的匯流排上所配置的其中一個服務整合匯流排主題空間。
永久主題名稱空間在建立後即無法修改,但可套用或移除主題名稱空間文件。
- 自訂內容
-
這些自訂內容為可用來設定內部系統配置內容的名稱/值配對。在每個配對中,名稱都是一個內容索引鍵,值是字串值。
如果要為從這個 WS-Notification 服務送出的出埠要求指定一個逾時時間,請設定如下的自訂內容:
outbound.timeout
這個內容的值代表逾時時間(毫秒)。如果未設定這個內容,就會使用預設逾時值
2 分鐘。
如果要決定在檢查這個 WS-Notification 服務下所用主題的語法時的嚴格度,請設定如下的自訂內容:
com.ibm.ws.sib.wsn.strictTopicChecking
這個內容的有效值如下:
TRUE 和
FALSE:
- 如果內容值設為 TRUE,就表示會嚴格執行 WS-Topics 中所定義的語法規則。
請注意,相較於預設值,這會投入效能成本,因為主題中的每個字元都會對照一長串允許使用的 Unicode 字元來進行驗證。
- 如果省略這個內容,或設為 FALSE,語法檢查就只會確定基本主題結構有效,字元檢查會放鬆,允許在主題名稱中使用 *(星號)和 .(點)以外的任何字元。
- 出埠要求原則集和連結
- The outbound request policy sets and bindings for the two WS-Notification
service clients associated with this WS-Notification service. 關於可靠的 Web 服務通知訊息傳輸,請利用這個選項,將 WS-Notification 服務用戶端關聯於啟用 WS-ReliableMessaging 的原則集。
- For more information, see 配置 7.0 版 WS-Notification 服務的 Web 服務 QoS.
- Apply any changes, then click OK. If the processing completes successfully, the list of WS-Notification services is
redisplayed. Otherwise, an error message is displayed.
- 儲存對主要配置所做的變更。 You need not restart the server for the changes to fully take effect if
configuration reload is enabled for the service integration bus.