Copyright © 2010 Open Geospatial Consortium, Inc.
41 The XML Schema fragment for the typical minimum ―Contents‖ section of Capabilities
XML documents shall be as attached in the owsContents.xsd file. This XML Schema Document may be built upon to define the Contents section for a specific OWS. If the
ContentsBaseType in this XML Schema Document cannot be restricted and extended to define the Contents section for a specific OWS, all other relevant parts defined in
owsContents.xsd shall be used by the ―ContentsType‖ in the wxsContents.xsd prepared for the specific OWS.
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.
7.4.11 Service metadata XML example
A partial example of a ―Capabilities‖ XML document or GetCapabilities response message encoded in XML is:
?xml version=1.0 encoding=UTF-8? Capabilities xmlns=http:www.opengis.netows2.0
xmlns:ows=http:www.opengis.netows2.0 xmlns:xlink=http:www.w3.org1999xlink
xmlns:xsi=http:www.w3.org2001XMLSchema-instance xsi:schemaLocation=http:www.opengis.netows2.0
fragmentGetCapabilitiesResponse.xsd version=2.0.0 updateSequence=ABC123
-- Partial example for WMS. Primary editor: Arliss Whiteside. Last updated 20041013. --
ServiceIdentification Title xml:lang=enAcme Corp. Map ServerTitle
Title xml:lang=frServeur de Carte par Acme Corp.Title Abstract
Map Server maintained by Acme Corporation. Contact: webmasterwmt.acme.com.
High quality maps showing roadrunner nests and possible ambush locations. Abstract
Keywords KeywordbirdKeyword
KeywordroadrunnerKeyword KeywordambushKeyword
Keywords ServiceTypeurn:ogc:service:wmsServiceType
ServiceTypeVersion2.0.0ServiceTypeVersion ServiceTypeVersion1.1.1ServiceTypeVersion
FeesNONEFees AccessConstraintsNONEAccessConstraints
ServiceIdentification ServiceProvider
ProviderNameAcme CorporationProviderName ProviderSite xlink:href=http:hostname
ServiceContact IndividualNameJeff Smith, Server
AdministratorIndividualName PositionNameComputer ScientistPositionName
ContactInfo
42
Copyright © 2010 Open Geospatial Consortium, Inc. Phone
Voice+1 301 555-1212Voice Facsimile+1 301 555-1212Facsimile
Phone Address
DeliveryPointNASA Goddard Space Flight CenterDeliveryPoint
CityGreenbeltCity AdministrativeAreaMDAdministrativeArea
PostalCode20771PostalCode CountryUSACountry
ElectronicMailAddressuserhost.comElectronicMailAddress Address
ContactInfo ServiceContact
ServiceProvider OperationsMetadata
Operation name=GetCapabilities DCP
HTTP Get xlink:href=http:ww.lat-lon.detransform?
HTTP DCP
Parameter name=Format ValuetextxmlValue
Parameter Operation
Operation name=GetMap DCP
HTTP Get xlink:href=http:ww.lat-lon.detransform?
Post xlink:href=http:ww.lat-lon.detransform? HTTP
DCP Parameter name=Format
ValueimagegifValue ValueimagepngValue
ValueimagejpegValue Parameter
Parameter name=ExceptionFormat ValuetextxmlValue
ValuetextplainValue ValuetexthtmlValue
Valueapplicationvnd.ogc.se_inimageValue Parameter
Operation Operation name=GetFeatureInfo
DCP HTTP
Get xlink:href=http:ww.lat-lon.detransform? HTTP
DCP Parameter name=Format
ValuetextxmlValue ValuetextplainValue
ValuetexthtmlValue
Copyright © 2010 Open Geospatial Consortium, Inc.
43
Parameter Operation
Parameter name=ExceptionFormat ValuetextxmlValue
ValuetextplainValue ValuetexthtmlValue
Parameter Constraint name=MaximumLayerLevels
Value5Value Constraint
Constraint name=MaximumWidth Value4000Value
Constraint Constraint name=MaximumHeight
Value4000Value Constraint
OperationsMetadata Languages
Languageen-CALanguage Languagefr-CALanguage
Languages Capabilities
7.4.12 Capabilities document SOAP encoding