The WS-Policy Editor

The WS-Policy Editor allows you to edit WS-Policy documents using either a graphical editor or a plain text editor. Given a Service or a Module, it will generate a graphical tree view (Policy Tree) representing the document along with the plain text (Raw Policy) representation.
  1. In the navigator, under Manage/Modules, click List. The Deployed Modules page appears.
  2. Click the module for which you want to edit the policy. A page appears with the module information.
  3. Click Edit module policies. The Policy Editor page appears. It will show the selected WS-Policy.
  1. In the navigator, under Manage/Service, click List. The Deployed Services page appears.
  2. Click the service for which you want to edit the policy. The Service Dashboard page appears.
  3. select-service-policies.png
  4. The Policy Editor page appears.
  5. On this page, you can select the exact WS-Policy to edit from the hierarchy.
  6. Select a WS-Policy from the hierarchy, and click Edit Policy. The Policy Editor page appears. It will show the selected WS-Policy.
    service-policy-hierarchy.png The default view presented is the source view or the raw policy.
Note: You will be editing the merged WS-Policy, which includes all the WS-Policy components attached to the level selected.
    policy-editor-source-view.png The WS-Policy Editor also contains a Design View (experimental), which provides a graphical representation of the WS-Policy in question. policy-editor-design-view.png
  1. Right-click on any node in the policy tree. A shortcut menu appears. You can add new elements and delete existing ones. The plain text representation will be kept in sync with the changes done using the Policy Tree, and vise versa.
  2. Selecting an element in the Policy Tree allows you to edit the attributes of that policy element. Similarly, when adding an element, you will be prompted to add data to the attributes relevant to that particular element.
  3. Once you have finished editing your policy document, click Save Policy.
  4. Click Go Back to go back to the previous page.