Capabilities document XML encoding Capabilities document example

Figure 18: contents section in XMLSpy notation informative

12.3.4 Capabilities document XML encoding

A XML schema fragment for a SPS service metadata document extends ows:CapabilitiesBaseType in owsCommon.xsd of [OGC 05-008] and can be found in spsGetCapabilities.xsd in annex B. This XML Schema Document uses the owsServiceIdentification.xsd, owsServiceProvider.xsd, and owsOperationsMetadata.xsd schemas specified in [OGC 05-008]. It also uses an XML Schema Document for the “Contents” section of the SPS Capabilities XML document, which shall be as shown in Figure 21 and spsContents.xsd file attached in annex B. All these XML Schema Documents contain documentation of the meaning of each element, attribute, and type, and this documentation shall be considered normative as specified in subclause 11.6.3 of [OGC 05-008]. 50 Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. «ows:CapabilitiesBaseType» Capabilities «DescriptionType» owsCommon::ServiceIdentification «Element» owsCommon::ServiceProvider «Element» owsCommon::OperationsMetadata «SPSContentsType» Contents 0..1 0..1 0..1 0..1 + «Attribute» ows:version: VersionType + «Attribute» ows:updateSequence: ows:updateSequenceType + «Element» Abstract: String [0..1] + «Element» Title: String [0..1] + «Element» Keywords: KeywordsType [0..] + «Element» ProviderName: String + «Element» ServiceContact: ResponsiblePartySubsetType + «Element» ProviderSite: OnlineResourceType [0..1] + «Element» Operation: complex [2..] + «Element» Parameter: DomainType [0..] + «Element» Constraint: DomainType [0..] + «Element» ExtendedCapabilities: anyType [0..] Figure 19: GetCapabilitiesRequestResponse in UML notation normative Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. 51 Figure 20: GetCapabilitiesRequestResponse in XMLSpy notation informative 52 Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. Figure 21: GCRR Contents-section in XMLSpy notation

12.3.5 Capabilities document example

In response to GetCapabilities operation request, a SPS server might generate a document that looks like GCRR.xml in annex D.

12.3.6 Exceptions