Defining a Multi-Protocol Gateway default error policy

A Multi-Protocol Gateway default error policy defines a list of matching rules and corresponding error actions. A Multi-Protocol Gateway uses the default error policy to handle errors in an HTTP or HTTPS flow when no other error handler successfully handles the error.

About this task

A Multi-Protocol Gateway calls the Multi-Protocol Gateway default error policy when the following conditions are true.
  • The error occurs in an HTTP or HTTPS request flow.
  • Error rules that you defined in the processing policy fail to handle the error.
  • The service does not have any defined error handler. For example, you do not configure any error rule in the processing policy, or do not define the dp:send-error extension function or the padding oracle protection.

The Multi-Protocol Gateway runs an error action according to whether a corresponding matching rule selects the action for processing. When the default error policy evaluates the matching rules and finds a match, it runs the corresponding error action. The policy runs the first error action with a successful match. If the error action encounters an error, the DataPower® Gateway returns a default SOAP fault message to the client.

Procedure

  1. In the search field, enter default error policy.
  2. From the search results, click Multi-Protocol Gateway Default Error Policy.
  3. Click Add.
  4. Define the basic properties - Name, administrative state, and comments.
  5. In the policy maps table, define a policy map.
    1. Click Add.
    2. Define a matching rule and the corresponding error action.
  6. Optional: Repeat the previous step to define another matching rule and its corresponding error action.
  7. Click Apply to save changes to the running configuration.
  8. Click Save to save changes to the persisted configuration.