Modify
a Java™ API
for XML-based Web Services (JAX-WS) handler configuration for a handler
that is used, as part of a handler list, with JAX-WS based Version
7.0 WS-Notification services.
Before you begin
You can modify a JAX-WS handler
configuration by using
the administrative console as described in this topic, or by using
the modifyJAXWSHandler command.
如果您修改處理程式類別,但未變更類別名稱,就不需要依照這個主題中的說明來修改處理程式配置。
您只需要停止並重新啟動這個處理程式監視的服務,或服務點所在的伺服器或叢集。
About this task
Java API for XML 型 Web 服務 (JAX-WS) 處理程式,是用來執行某範圍之處理作業的 Java 類別。 例如:記載訊息、轉換其內容或者終止送入的要求。 You can use the administrative
console to list existing handler configurations, and to view and modify
their configuration details.
Procedure
- Start the
administrative console.
- Navigate to . A list of handlers is displayed in a JAX-WS handlers collection
form.
- Click the name of a handler
in the list. The
current JAX-WS handlers
settings for this handler are displayed.
- Modify the following general properties:
- Name
- Modify the name of the
handler.
這個名稱必須在 Cell 範圍是唯一的,且必須遵循下列語法規則:
- 不可以 "."(句點)開頭。
- 不可以空格開頭或結尾。
- 它不能包含下列中的任何字元:\ / , # $
@ : ; " * ? < > | =
+ & % '
Note: 當您變更處理程式名稱時,系統會查閱所有參照它的物件並更新名稱。
- Description
- Modify the (optional) description
of the handler.
- Class name
- Change
the name of the class that is to be instantiated.
- 如果您變更類別名稱,您也必須依照Loading JAX-WS handler classes中的詳細說明,將新的處理程式類別提供給您想要監視之 WS-Notification 服務點(處理入埠呼叫)或 WS-Notification 服務(處理出埠呼叫)所在的伺服器或叢集。
Note: 您可以用不同的處理程式名稱來建立若干實例,讓各實例指向相同的處理程式類別,以配置單一處理程式的多重實例。
- 儲存對主要配置所做的變更。
Results
If the processing completes successfully, the
list of handlers
is redisplayed. Otherwise, an error message is displayed.