Previous Topic: Create a VariableNext Topic: SiteMinder Key Database Management


Create a Web Services Variable

You create a Web Services variable to make it available for use in policies or responses.

Note: The value of the resolved variable must not be greater than 1K.

To create a variable

  1. Open the domain to which to you want to add a variable.
  2. Click the Variables tab.

    A table lists the variables associated with the domain.

  3. Click Create Variable.

    The Create Variable screen appears.

  4. Verify that Create a new object is selected, and click OK.

    Variable settings open.

  5. Type the variable name in the Name field.
  6. Select Web Service from the Variable Type drop-down list on the General group box.

    Web Service settings appear.

  7. Select the data type from the Return Type drop-down list on the Definition group box.
  8. Type the Web Service URL in the URL field on the Remote URL group box.
  9. Type the XPath query in the XPath field on the Return Query group box.

    Note: The Policy Server uses this query to extract the value of the Web Service variable from the SOAP document returned by the Web Service.

  10. (Optional) Select the Require Credentials check box on the Web Service Credentials group box and specify the user name and password that the Policy Server is to use when connecting to the Web Service.
  11. (Optional) Click Variable... in the SOAP Document group box to add existing variables to the SOAP message.
  12. (Optional) Click Add on the HTTP Headers group box to associate an HTTP header with the Web Service variable.
  13. Click OK.

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