SOAP-encoded and base-XML operation requests, the ows:Constraint element shall be included in the ows:OperationsMetadata element. If the connect point URL is different
for SOAP-encoded and base-XML operation requests, this ows:Constraint element shall be included in each ows:Post element.
10.5.5 Examples
7
KVP Encoding:
http:www.someserver.comwrs.cgi?REQUEST=GetCapabilitiesSERVICE=CS WACCEPTVERSION=2.0.2,2.0.0,0.7.2outputFormat=applicationxml
XML Encoding:
?xml version=1.0 encoding=ISO-8859-1? GetCapabilities
xmlns =
http:www.opengis.netcatcsw2.0.2 xmlns:ows
= http:www.opengis.netows
xmlns:xsi =
http:www.w3.org2001XMLSchema-instance xsi:schemaLocation
= http:www.opengis.netcatcsw2.0.2
......csw2.0.2CSW-discovery.xsd service
= CSW
ows:AcceptVersions ows:Version
2.0.2 ows:Version
ows:Version 2.0.0
ows:Version ows:Version
0.7.2 ows:Version
ows:AcceptVersions ows:AcceptFormats
ows:OutputFormat applicationxml
ows:OutputFormat ows:AcceptFormats
GetCapabilities
Annex D includes a sample capabilities document for a CSW server that supports only the default message payload. As described in clause 10.2.5, the default message payload
is the core queryable elements defined by the csw:Record element; this default may be overridden in an application profile. The csw:Record element is the root element of the
XML encoding of the core queryable element and is define in the schema file record.xsd.
10.6 DescribeRecord operation
10.6.1 Introduction
The mandatory DescribeRecord operation allows a client to discover elements of the information model supported by the target catalogue service. The operation allows some
or all of the information model to be described.
7
All examples in clause 10 are informative. In addition, the examples do not include all the XML syntax required to validate. This is done intentionally so as not to obfuscate the examples with XML syntax.
134
Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved.
10.6.2 KVP encoding
Table 62 specifies the keyword-value pair KVP encoding for the DescribeRecord operation request. This encoding is suitable for the HTTP GET binding.
NOTE To reduce the need for readers to refer to other parts of this document, the first three parameters listed
below are copied from Table 57 in Subclause 10.3.5 of this document.
Table 62 — KVP encoding for DescribeRecord operation request
Keyword
c
Data type and value Optionality and use
Parameter in general model
REQUEST Character String
Fixed value of DescribeRecord, case insensitive
One Mandatory
a
none
service Character String
Fixed value of CSW One Mandatory
serviceId version Character
String Fixed value of 2.0.2
One Mandatory none
NAMESPACE List of Character String, comma separated
Used to specify namespaces and their prefixes
Format is xmlns[prefix=]namespace-url. If prefix is not specified, then this is the
default namespace. One Optional
b
Include declarations for each namespace used in a
TypeName none
TypeName List of Character String, comma separated
One or more qualified type names to be described
Zero or one Optional Default action is to
describe all types known to server
typeName
outputFormat Character String
A MIME type indicating the format that the output document should have
Zero or one Optional Default value is
applicationxml returnFormat
schemaLanguage Character String Zero or one Optional
Default value is XMLSCHEMA
schemaLanguage
a The REQUEST parameter contains the same information as the name of the DescribeRecord element in XML encoding.