Uploaded image for project: 'WS-Commons'
  1. WS-Commons
  2. WSCOMMONS-29

Support for Vocabulary

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Policy
    • None

    Description

      The ws-policy specification talks about a concept called Vocabulary. In section 3.2 it can be seen how the vocabulary is to be used in policy processing.

      "An assertion whose type is part of the policy's vocabulary but is not included in an alternative is explicitly prohibited by the alternative."

      To calculate the vocabulary of a policy requires building a list of every assertions QName and the removing of duplicates. It is likely this will be a function that is required by axis2. I would imagine that it would be useful to have a method on Policy to retrieve the vocabulary of the policy. If others agrees with me then please find attached here a test case and a patch to add this functionality.

      Attachments

        1. WS-COMMONS-.zip
          2 kB
          Paul Nolan

        Activity

          People

            sanka Hettige Don Ignatious Nywan Sanka Samaranayake
            nolanpt Paul Nolan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: