Creating a new JAX-WS handler configuration

Create a Java™ API for XML-based Web Services (JAX-WS) handler configuration for use, as part of a handler list, with JAX-WS based Version 7.0 WS-Notification services.

Before you begin

You can create a new JAX-WS handler configuration by using the administrative console as described in this topic, or by using the createJAXWSHandler command.

這項作業假設您已建立您的處理程式。您可以利用 IBM® Rational® Application Developer 或類似的工具來執行這個動作。 您也必須依照Loading JAX-WS handler classes中的詳細說明,將處理程式類別提供給您想要監視之 WS-Notification 服務點(處理入埠呼叫)或 WS-Notification 服務(處理出埠呼叫)所在的伺服器或叢集。

About this task

Java API for XML 型 Web 服務 (JAX-WS) 處理程式,是用來執行某範圍之處理作業的 Java 類別。 例如:記載訊息、轉換其內容或者終止送入的要求。 如果要讓 WebSphere® Application Server 知道您的處理程式,以及讓處理程式可供併入一或多份處理程式清單中,請利用管理主控台來建立一個新的處理程式配置。

Procedure

  1. Start the administrative console.
  2. Navigate to 服務整合 -> WS-Notification -> JAX-WS 處理程式. The JAX-WS handlers collection form is displayed.
  3. Click New. The JAX-WS handlers settings form is displayed.
  4. Type the following general properties:
    Name
    Type the name by which the handler is known.
    這個名稱必須在 Cell 範圍是唯一的,且必須遵循下列語法規則:
    • 不可以 "."(句點)開頭。
    • 不可以空格開頭或結尾。
    • 它不能包含下列中的任何字元:\ / , # $ @ : ; " * ? < > | = + & % '
    For example TestHandler.
    Description
    Type the (optional) description of the handler.
    Class name
    Type the name of the class that is to be instantiated. This name must be a fully qualified java class name. For example com.ibm.jaxws.handler.TestHandler.
    Note: 您可以用不同的處理程式名稱來建立若干實例,讓各實例指向相同的處理程式類別,以配置單一處理程式的多重實例。
  5. Click OK. The general properties for this item are saved, and the additional properties options are made available.
  6. 儲存對主要配置所做的變更。

Results

If the processing completes successfully, the list of handlers is updated to include the new handler. Otherwise, an error message is displayed.

What to do next

To use this handler, add it to a handler list as described in Creating a new JAX-WS handler list or Modifying an existing JAX-WS handler list.

指出主題類型的圖示 作業主題



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