Previous Topic: Create a Transport VariableNext Topic: Create an XML Body Variable


Create an XML Agent Variable

XML Agent variables let you obtain information about the web server whose resources the WSS Agent is protecting for use in policy expressions or responses.

Follow these steps:

  1. Click Policies, Domain.
  2. Click Variables.
  3. Click Create Variable.

    Verify that the Create a new object of type Variable option is selected.

  4. Click OK.
  5. Select a domain from the list and click Next.
  6. Type the variable name in the Name field.
  7. Select XML Agent from the Variable Type list

    XML Agent variable settings open.

  8. Enter information in the following fields:
    Description

    (Optional) Specifies a brief description of the variable.

    Limits: No more than 1KB.

    Property

    Specifies the XML Agent property that will provide the value of the variable:

    • Server Product Name—String representation of the web server product name—for example, iPlanet Web Server. Value is obtained from the ServerProductName Agent Configuration parameter.
    • Server Vendor—String representation of the web server vendor—for example, Sun. Value is obtained from the ServerVendor Agent Configuration parameter.
    • Server Version—String representation of the web server product version—for example, 6.0 SP2.
  9. Click Finish.

    The variable appears in the Variables tab of the domain. The variable can now be used in policy expressions or responses.