Creating a new JAX-WS handler list

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

Before you begin

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

您只能將先前配置的處理程式新增至處理程式清單中。如果要配置處理程式,請參閱Creating a new JAX-WS handler configuration

About this task

Java API for XML 型 Web 服務 (JAX-WS) 處理程式,是用來執行某範圍之處理作業的 Java 類別。 例如:記載訊息、轉換其內容或者終止送入的要求。 如果要使處理程式能夠執行較複雜的作業,您可以將它們一起鏈結在處理程式清單中。 WebSphere® Application Server 中所採取的方法,是將處理程式清單(而不是個別處理程式)指派給 WS-Notification 服務點(處理入埠呼叫)或 WS-Notification 服務(處理出埠呼叫)。

Procedure

  1. Start the administrative console.
  2. Navigate to 服務整合 -> WS-Notification -> JAX-WS 處理程式清單. The JAX-WS handler lists collection form is displayed.
  3. Click New. The JAX-WS handler lists settings form is displayed.
  4. Type the following general properties:
    Name
    Type the name by which the handler list is known.
    這個名稱必須在 Cell 範圍是唯一的,且必須遵循下列語法規則:
    • 不可以 "."(句點)開頭。
    • 不可以空格開頭或結尾。
    • 它不能包含下列中的任何字元:\ / , # $ @ : ; " * ? < > | = + & % '
    For example TestList.
    Description
    Type the (optional) description of the handler list.
    JAX-WS handlers
    In the JAX-WS handlers pane, complete the following steps:
    1. Select one or more handlers from the list of available JAX-WS handlers, then click Add to move the selected handlers into the list of handlers for this JAX-WS handler list.
    2. Select a handler in the list of handlers for this JAX-WS handler list, then click Up or Down to change the position of the handler within the list.
    處理程式會依照它們在處理程式清單中的順序來套用。
    Note: If you click Reset, only the Name and Description fields are reset to their state when the form was first loaded. The two lists of available and assigned handlers are not reset.
  5. Click OK. The general properties for this item are saved.
  6. 儲存對主要配置所做的變更。

Results

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

What to do next

如果要將這份處理程式清單套用到在 7.0 版 WS-Notification 點收到的入埠通知要求,請依照建立新的 7.0 版 WS-Notification 服務點Modifying a Version 7.0 WS-Notification service point所說明,將它關聯於服務點。 如果要將這份處理程式清單套用到您的 7.0 版 WS-Notification 服務所傳送的出埠通知要求,請依照建立新的 7.0 版 WS-Notification 服務Modifying a Version 7.0 WS-Notification service所說明,將處理程式清單關聯於服務。

如需建立 JAX-WS 處理程式、將它們一起鏈結在處理程式清單中,然後將處理程式清單套用到 7.0 版 WS-Notification 服務點或服務等,從頭到尾完整作業的概觀,請參閱在 WS-Notification 服務上套用 JAX-WS 處理程式清單


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



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