Share via


Policy Files

In WSE, policy files are XML files that are a collection of named policies and policy extensions. Each named policy is declared using a <policy> Element (Policy) that contains an ordered collection of Policy Assertions. Policy Extensions are declared using <extension> Element elements. Both of these elements are child elements of the root <policies> Element for the policy file. The following code example demonstrates the structure of a WSE policy file.

<policies>
  <extensions>
    <extension />
  </extensions>
  <policy name="myUserDefinedPolicyName" />
</policies>

See Also

Reference

<policy> Element (Policy)
<extension> Element

Concepts

Policy Assertions
Policy Extensions