Specifying Handlers for an EAServer 5.x Services Package Profile

On the Handlers page of the EAServer 5.x Services Package Profile editor, you can specify global handlers that apply to all services in a package. The changes you make for the package profile are used for this profile only and do not change the basic service.

Handlers can be either request or response. Request is invoked when the service is requested; response occurs when the server responds.

All work is done in the Handlers section:

HandlersDisplays handlers included in the specified package. Select the package in the Sybase WorkSpace that contains this handler before you add, edit, or remove a handler.

To add a global handler for a package profile:

  1. Highlight the package profile in the workspace and click the Handlers tab.

  2. Click Add.

    The Handlers dialog opens.

  3. Enter a user-defined name.

  4. Enter a handler type.

    The value in Type can be either the name of another handler or a QName. If you use another handler, the name attribute should refer to the definition of the handler you are using. If you use a QName, the name attribute is not used.

  5. Add a parameter for this handler by clicking Add.

    The Parameter dialog displays.

  6. Enter a name and value for the parameter and click OK.

  7. Click OK.

To edit a global handler:

  1. In the Handlers table, select the handler to edit.

  2. Use the Handlers dialog to edit the information.

  3. Click OK.

To edit or remove a handler parameter:

  1. With the Handlers dialog open, select the parameter to edit or remove.

  1. Click either Edit and make changes or Remove.

  2. Click OK.

To remove a global handler:

  1. In the Handlers table, select the handler to remove.

  2. Click Remove.

These global handlers are stored with the package profile information.

For information about specific functionality when editing a service in the EAServer 5.x package profile, go to http://ws.apache.org/axis/java/reference.html

Package

Developing an EAServer 5.x Services Package Profile

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com