...
The WS-Policy configuration functionality is provided by the Service Management feature of the WSO2 feature repository.
Defining Policies at Bindings
Policies can be applied at the binding hierarchy, at three different policy subjects such as:
...
Code Block | ||
---|---|---|
| ||
<wsp:PolicyAttachment xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> <wsp:AppliesTo> <policy-subject identifier="binding:soap11/operation:secureEcho/in" /> <policy-subject identifier="binding:soap12/operation:secureEcho/in" /> </wsp:AppliesTo> <wsp:Policy wsu:Id="binding_level_policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> </wsp:Policy> </wsp:PolicyAttachment> |
...
Info | |
---|---|
|
...
| |
Further details can be found in these articles hosted on WSO2 Oxygen Tank: |
The WS-Policy Editor
The WS-Policy Editor allows 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 (the "Policy" tree) representing the document along with the plain text (Raw Policy) representation. 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 particular level selected. |
For example,
...
Excerpt | ||
---|---|---|
| ||
WS-Policy implementation instructions on WSO2 ASproducts. |