REST Binding Component User's Guide

ProcedureTo Add the Filter to the Composite Application

Before You Begin

Before you can perform this step, you need to complete the following steps:

  1. Open the composite application for the project in which you want to implement filters.

  2. On the CASA Editor, right-click the REST outbound endpoint to which you want to add the filter, and then click Properties.

    Figure shows the REST endpoint in a composite
application.

    The Properties Editor appears.

    Figure shows the endpoint Properties Editor.
  3. Click the ellipsis next to the Filters property under JAX-RS (Jersey) Extension.

    The Filters Editor appears.

  4. On the Filters Editor, click Add.

  5. From the dialog box that appears, navigate to and select the Java Application project you created to define the filter logic. Click Open.

    The Select Java Libraries dialog box appears.

  6. Click OK on the dialog box. Do not select the Jersey libraries.

    The information from the Java Application project is populated into the Filter Editor.

    Figure shows the Filter Editor for REST filters.
  7. If you defined parameters for the filter, enter the parameter values in the Parameters section at the bottom of the editor.

  8. Click OK.

    The filter name appears in the Filters property.

  9. Click Close on the Properties Editor.