OGC 07-045
differences to that of the OGC CS 2.0.2 base specification. It also documents supported query facilities and some implementation guidance as well as a few security
considerations.
8.1 Imported protocol binding Relationship to the common model
This profile imports the HTTP protocol binding from [OGC 07-006]. Table 25 shows how the operations of this profile CSWT ISO are mapped to the
operations specified by the CSW 2.0.2 specification. This is a full mapping in that all of the CSWT ISO operations have a corresponding CSW operation.
Table 25 - Mapping CSWT ISO operations to CSW operations
CSW operation CSWT ISO operation
OGC_Service.GetCapabilities OGC_Service.GetCapabilities
CSW-Discovery.GetRecords CSW Discovery.GetRecords
CSW-Discovery.DescribeRecord CSW Discovery.DescribeRecord
CSW-Discovery.GetDomain CSW Discovery.GetDomain
CSW-Discovery.GetRecordById CSW Discovery.GetRecordById
CSW-Publication.Transaction CSWT Manager.Transaction
CSW-Publication.Harvest CSWT Manager.Harvest
Apart from the GetCapabilities operation, all operations must support the embedding of requests and responses in SOAP messages. In this case only SOAP messaging via
HTTPPOST with documentliteral style has to be used. Messages must conform to SOAP 1.2 http:www.w3.orgTRSOAP. The message payload will be in the body of
the SOAP envelope
19
. Most operations support the encoding of the request messages as keyword-value pairs
KVP within a request URI, all operations support the usage of a XML entity-body. Responses are XML-encoded.
The HTTP encoding of catalogue operation requests shall use HTTP GET with keyword- value pairs KVP encoding and HTTP POST with XML encoding as specified in Section
11 of [OGC 05-008c1]
20,21
. Note that the parameter names in all KVP encodings must be
handled in a case insensitive manner while parameter values shall be handled in a case
19
Further details can be found in chapter 10.3.2 of the CSW base specification
20
XML = applicationxml using POST with a charset parameter if necessary—UTF-8 is strongly recommended
21
KVP = URL-encoded keyvalue pairs using GET or applicationx-www-form-urlencoded using POST
60 Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved.
OGC 07-045
sensitive manner. Table 26 summarizes the CSWT ISO operations and their encoding methods that are
applied in this profile. The mandatory method bindings and data encodings are printed in bold.
Table 26 - Operation request encoding
CSWT ISO Operation Request encoding
GetCapabilities XMLPOST+SOAP and
KVP GET XML POST+SOAP and KVP GET
DescribeRecord
XML POST+SOAP and KVPGET GetDomain
XML POST+SOAP and KVPGET GetRecords
XML POST+SOAP and KVPGET GetRecordById
XML POST+SOAP and KVPPOST Harvest
XML POST+SOAP Transaction
8.2 Interface specifications