This page will allow you to play with the Normalize, Merge and Intersect
operations on WS-Policy statements by providing some WS-Policy statements
and executing the desired function. The demo page itself has the following
fields:
- Endpoint URL
Enter the URL of the service that supports the WS-Policy tests.
- Known URLs
Or, you can select from the list of known endpoints in the
drop-down.
- Test
Select the test/operation you want to run. You can choose from
Normalize, Merge and Intersect.
- Policy(ies)
If you choose Normalize as the test then you can enter
a single policy in the left textarea. If you choose Merge
or Intersect then a seconds textarea will appear on the left
side of the page - allowing you to enter a second Policy statement.
In both case a drop-down will also be available for you to choose
from a predefined list of policies.
Some of the policies in the predefined list come from the conformance
testing as talked about in the
WS-Policy Yahoo
group.
Look for the ones that start with "MI" in their name.
- Run
After selecting the test and entering the policy (or policies),
click on the Run button to invoke the test.
- Output
After running, the output will be displayed in this textarea.
Supporting endpoints must conform to the following rules:
- The Action URI will be of the form:
http://example.com/ws/2004/09/policy/Normalize/Request
where the word "Normalize" would be replaced by either "Merge"
or "Intersect" as appropriate.
- The Body of the message contains either one or two policies,
depending on the test run, as immediate chilren of the Body element.
Note: this means the determination of which test is run is not
based on anything in the Body, but rather the Action URI.
This host's endpoint URL is: