KVP encoding Request .1 Request Semantics

46 Copyright © 2010 Open Geospatial Consortium

8.3.2 XML encoding

The root element of the response to a GetCapabilities request is the wfs:WFS_Capabilities element which is declared by the following XML Schema fragment: xsd:element name=WFS_Capabilities type=wfs:WFS_CapabilitiesType xsd:complexType name=WFS_CapabilitiesType xsd:complexContent xsd:extension base=ows:CapabilitiesBaseType xsd:sequence xsd:element name=WSDL minOccurs=0 xsd:complexType xsd:complexContent xsd:restriction base=xsd:anyType xsd:attributeGroup ref=xlink:simpleLink xsd:restriction xsd:complexContent xsd:complexType xsd:element xsd:element ref=wfs:FeatureTypeList minOccurs=0 xsd:element ref=fes:Filter_Capabilities minOccurs=0 xsd:sequence xsd:extension xsd:complexContent xsd:complexType The base type, ows:CapabilitiesBaseType, is defined in the OWS Common Implementation Specification see OGC 06-121r3:2009, 7.2.4. The elements ows:ServiceIdentification, ows:ServiceProvider and ows:OperationMetadata are inherited from the base type ows:CapabilitiesBaseType.

8.3.3 Capabilities document

In addition to the sections defined in 7.4 of OGC 06-121r3:2009, the capabilities response document shall contain the following sections: 1 WSDL section optional This section allows a server to reference an optional WSDL document that describes the operations that the service offers see Annex E. This section may be included in addition to the OperationsMetadata section for tools that know how to use the WSDL. 2 FeatureType list section mandatory This section defines the list of feature types that are offered by a web feature service. Lightweight metadata is provided about each feature type as described in Table 11. 3 Filter capabilities section mandatory The schema of the Filter Capabilities Section is defined in ISO 19143:2010, 7.13, and is used to advertise the expressions that may be used to form query predicates. NOTE In the schema, the wfs:FeatureTypeList and fes:Filter_Capabilities elements are specified as optional i.e. minOccurs=0. This is done in order to support the Sections parameter see 06-121r3:2009, 7.3.3 of the GetCapabilities request which allows abbreviated service metadata documents to be requested. However, when the full service metadata is generated it shall contain a FeatureType list section and a Filter capabilities section.

8.3.4 FeatureTypeList section

The wfs:FeatureTypeList element shall contain a list of feature types, subtyped from gml:AbstractFeatureType, that a WFS offers. The following XML Schema fragment defines the wfs:FeatureTypeList element: