Adding an XML namespace to a notification template

Using the WebSphere® Application Server administrative console, you can add an XML namespace to a notification template.

Before you begin

Before you begin this task, you must log in to the WebSphere Application Server administrative console.

About this task

If the Common Base Event generated from the model uses user-defined namespaces, these namespaces must be defined in a notification template to allow the XPATH parser to parse the Common Base Event. Use the WebSphere Application Server administrative console to define the Common Base Event namespace prefix and the namespace for a notification template. Template XML namespaces are required only if the template has an XPATH expression.

To add an XML namespace to a notification template, complete the following steps:

Procedure

  1. From the WebSphere Application Server administrative console, click Applications > Monitor Services > Monitor Action Services > Template Definitions > Notifications.
  2. Click the notification template to which you want to add an XML namespace.
  3. Click Template XML namespaces.
  4. Click New.
  5. In the XML Namespace prefix field, enter an XML namespace prefix to be used in the notification template.
  6. In the XML Namespace field, enter a resolved XML namespace.
  7. To save your changes, click Apply or OK.