Saturday, September 19, 2015

What is WS Policy? (103/285 technotes for 2015)

WS Policy is a flexible / extensible grammar to define
  • capabilities
  • requirements 
  • general characteristics of entities in an  
XML Web Services based system based on a particular domain.

Examples of Domain for which we have separate policies:
  • Security
  • Privacy
  • Reliable Messaging
Where and how is a WS-Policy used?
Ans: A Web Service uses a policy to define its requirements in the wsdl file.
For eg:
policy 1: all messages must be signed and encrypted in a certain way.
policy 2: every message has to have a timestamp.


What is WS-Policy Terminology?
Ans:
Policy --> multiple Policy Alternative
Policy Alternative --> multiple Policy Assertion
Policy Assertion - is the criteria - for eg: every msg needs to be encrypted.



eg: of WS-Policy





References:
  1. https://www.youtube.com/watch?v=vh4gYKe3_Jc
  2. www.redbooks.ibm.com/redbooks/pdfs/sg247620.pdf
  3. http://www.w3.org/TR/ws-policy-primer/

No comments: