Handlers

Web Services Reference tabbed pane -> Web Service Reference section --> Add/Edit -> Add/Edit Web Services Reference dialog box -> Handlers button

In this dialog box, you can define or edit the set of classes for a web service endpoint or a service endpoint reference.

Choose Handler Classes

To choose the handler classes for the service endpoint in the Handlers pane:

  1. Click Add Handlers button. Select a handler class from the Class column drop-down list. The list contains all the handler classes in the module.
  2. The Name and Display Name columns are filled with the class name selected. You may edit the Display Name and the Class Name.
  3. Optionally, you can provide a description for the class by clicking the folded page icon.

To edit a handler class, select the row containing the handler class and click Edit Handlers button.

To rearrange the order of the handler classes, select the row containing the handler call, click Move Up to move the row up in the table. Click Move Down to move the row down in the table.

Define Initialization Parameters

To define initialization parameters:

  1. Click Add Parameters button.
  2. Enter your web component initialization parameter name in the Name column.
  3. You can enter default value for the parameter or, you can enter the default value after the web component is created.

Define Soap Headers

Additional information may be directed to any (or all) of the handlers by means of Soap envelope header blocks. To define a Soap header block:

  1. Click Add Headers button.
  2. Enter the namespace for the header. For example: "http://foo.eztrade.com"
  3. Enter the local part for the header name, which is the alias for the namespace. For example: gltp

Define Soap Role

The intended target (or targets) for a SOAP header is identified by a role identifier in the form of a URI. To add a Soap Role to the header:

  1. click Add Roles button.
  2. Enter the URI.


Legal Notices