Create a JAX-RPC handler configuration for use, as part of a handler
list, with service integration bus-deployed web services. 處理程式會在連接埠監視訊息,並且根據每則訊息的傳送端和內容,採取適當的行動。
About this task
Java™ API for XML 型遠端程序呼叫 (JAX-RPC) 處理程式,是用來執行某範圍之處理作業的 Java 類別。 例如:記載訊息、轉換其內容或者終止送入的要求。 如果要讓 WebSphere Application Server 知道您的處理程式,以及讓處理程式可供併入一或多份處理程式清單中,請利用管理主控台來建立一個新的處理程式配置。
Procedure
- In the navigation pane, click . The JAX-RPC
handlers collection form is displayed.
- Click New. The JAX-RPC
handlers settings form is displayed.
- Type the following general properties:
- Name
- Type the name by which the handler is known.
這個名稱必須是唯一的,且必須遵循下列語法規則:
- 不可以 "."(句點)開頭。
- 不可以空格開頭或結尾。
- 它不能包含下列中的任何字元:\ / , # $
@ : ; " * ? < > | =
+ & % '
For
example TestHandler.
- Description
- Type the (optional) description of the handler.
- Class name
- Type the name of the class that is to be instantiated. For example com.ibm.jaxrpc.handler.TestHandler.
Note: 您可以用不同的處理程式名稱來建立若干實例,讓各實例指向相同的處理程式類別,以配置單一處理程式的多重實例。
- Click OK. The general properties
for this item are saved, and the additional properties options are made available.
- Type the following additional properties:
- SOAP roles
- Add SOAP actor definitions to the list of SOAP roles in which this handler
acts. For more information, see the SOAP specification.
- JAX-RPC headers
- Add JAX-RPC header definitions (Namespace URI and Local part) to the list
of JAX-RPC headers against which this handler operates. JAX-RPC headers are
SOAP headers that are processed by a JAX-RPC handler.
- Custom properties
- Add custom properties (name/value pairs, where the name is a property
key and the value is a string value that can be used to set internal system
configuration properties).
- 儲存對主要配置所做的變更。
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-RPC handler list or
Modifying an existing JAX-RPC handler list.