54
Copyright © 2010 Open Geospatial Consortium Inc. featureMember
ReguralGriddedElevations
8.4 Exceptions in HTTP KVP encoded operations
If an error is detected while processing an operation request encoded with KVP over HTTP, the WMTS server SHALL generate an ExceptionReport element as defined in
clause 8.5 of OWS Common [OGC 06-121r3] and which conforms to the schemas described in Annex B.
9 WMTS using SOAP encoding
A WMTS server SHALL declare support for SOAP encoding for each operation by means of the OperationsMetadata section of its ServiceMetadata document as explained
in subclause 7.1.1.1.1. An example of this practice for GetCapabilities operation can be seen in subclause 9.1.2. Annex F contains information on how to write a WSDL
description document of the service.
9.1 GetCapabilities
9.1.1 GetCapabilities request SOAP encoding
Servers may also implement SOAP encoding using HTTP POST transfer of the GetCapabilities operation request, using SOAP version 1.2 encoding.
9.1.2 GetCapabilities request SOAP encoding example
To request a WMTS ServiceMetadata document, a client could issue the following SOAP encoded GetCapabilities operation request:
?xml version=1.0 encoding=UTF-8? soap:Envelope
xmlns:soap =
http:www.w3.org200305soap-envelope soap:Body
GetCapabilities service
= WMTS
xmlns =
http:www.opengis.netows1.1 AcceptVersions
Version 1.0.0
Version AcceptVersions
AcceptFormats OutputFormat
applicationxml OutputFormat
AcceptFormats GetCapabilities
soap:Body soap:Envelope
9.1.3 GetCapabilities SOAP encoding response
In response to GetCapabilities operation request in SOAP encoding, a WMTS server SHALL generate a document that looks like the one in subclause 7.1.1.3 wrapped in the
SOAP version 1.2 envelope.
Copyright © 2010 Open Geospatial Consortium Inc.
55
9.1.4 GetCapabilities SOAP encoding response example
The following fragment remarks the SOAP envelope and the encoding of GetCapabilities response in the OperationsMetadata section:
?xml version=1.0 encoding=UTF-8?
soap:Envelope xmlns:soap
= http:www.w3.org200305soap-envelope
soap:Body
Capabilities version
= 1.0.0
xmlns =
http:www.opengis.netwmts1.0 xmlns:ows
= http:www.opengis.netows1.1
xmlns:xlink =
http:www.w3.org1999xlink xmlns:gml
= http:www.opengis.netgml
... ows:OperationsMetadata
ows:Operation name
= GetCapabilities
ows:DCP ows:HTTP
ows:Post xlink:href
= http:www.maps.bobmaps.cgi?
ows:Constraint name
= PostEncoding
ows:AllowedValues
ows:Value SOAP
ows:Value
ows:AllowedValues ows:Constraint
ows:Post ows:HTTP
ows:DCP ows:Operation
... WSDL
xlink:role =
http:schemas.xmlsoap.orgwsdl1.0 xlink:show
= none
xlink:type =
simple xlink:href
= wmtsConcrete.wsdl
Capabilities
soap:Body soap:Envelope
9.2 GetTile
9.2.1 GetTile request SOAP encoding
Servers may also implement SOAP encoding using HTTP POST transfer of the GetTile operation request, using SOAP version 1.2 encoding.
9.2.2 GetTile request SOAP encoding example
An example of the SOAP encoding of the GetTile operation request equivalent of the request in subclause 8.2.1 is:
?xml version=1.0 encoding=UTF-8? soap:Envelope
xmlns:soap =
http:www.w3.org200305soap-envelope soap:Body
GetTile service
= WMTS
version =
1.0.0 xmlns
= http:www.opengis.netwmts1.0
Layer etopo2
Layer