OGC 13-099
11 ListPolicyContainers operation
11.1 Introduction
The ListPolicyContainers operation is used to query a list of existing policy containers within a specific policy store.
11.2 Request
11.2.1 XML encoding and semantics
The following XML Schema fragment defines the XML-encoding of the ListPolicyContainers request:
xsd:element name=ListPolicyContainers type=paws:ListPolicyContainersType xsd:complexType name=ListPolicyContainersType
xsd:complexContent xsd:extension base=paws:BaseRequestType
xsd:sequence minOccurs=1 maxOccurs=1 xsd:element name=PolicyStoreId type=paws:urnType
xsd:sequence xsd:extension
xsd:complexContent xsd:complexType
The base type, paws: BaseRequestType is defined in section 7.2.
11.2.1.1 PolicyStoreId parameter mandatory
The value of the PolicyStoreId parameter shall be a valid URN cp. 6.5 and specifies one of the policy stores known to the PAWS instance. The Ids of the policy containers that
currently exist within that policy store represent the response of the ListPolicyContainer operation.
11.2.2 Example
The XML document below shows a ListPolicyContainer request. The effect of this request is to list the policy container Ids of policy containers that exist within the policy store
urn:mydomain:MyFirstPolicyStore.
paws:ListPolicyContainers service=PAWS version=1.0.0 ... paws:PolicyStoreIdurn:mydomain:MyFirstPolicyStorepaws:PolicyStoreId
paws:ListPolicyContainers
11.3 Response
11.3.1 XML encoding and semantics
The root element of the response to a ListPolicyContainer request is the paws:ListPolicyContainerResponse element which is declared by the following XML
Schema fragment:
xsd:element name=ListPolicyContainersResponse type=paws:ListPolicyContainersResponseType xsd:complexType name=ListPolicyContainersResponseType
xsd:complexContent xsd:extension base=paws:BaseResponseType
xsd:sequence minOccurs=0 maxOccurs=unbounded xsd:element name=PolicyContainerId type=paws:urnType
xsd:sequence xsd:extension
OGC 13-099
xsd:complexType
The base type, paws:BaseResponseType is defined in section 8.2. The ListPolicyContainerResponse document shall contain the following element:
1. PolicyContainerId element
This element can occur zero to unbounded times and describes the Ids of all existing policy containers of the policy store specified by the PolicyStoreId
parameter of the request. Each PolicyContainerId element shall specify exactly one Id of one of the existing policy containers within that policy store.
11.3.2 Example