ResourceFormat parameter ResponseHandler parameter

Table 69 — URIs for well known metadata standards URI Description http:www.opengis.netwms WMS capability document, all current versions http:www.opengis.netwfs WFS capability document, versions 1.0 and 1.1 http:www.opengis.netwfs1.2.0 WFS capability document, version 1.2 http:www.opengis.netwcs WCS capability document, version 1.0 http:www.opengis.netwcs1.1 WCS capability document, version 1.1 http:www.opengis.netcatcsw CSW capability document, versions 2.0.0 and 2.0.1 http:www.opengis.netcatcsw2.0.2 CSW capability document, version 2.0.2 http:www.fgdc.govmetadatacsdgm Content Standard for Digital Geospatial Metadata CSDGM, Vers. 2 FGDC-STD-001-1998 http:www.auslig.gov.audtdanzmeta-1.3.dtd Australian Spatial Data Infrastructure Standard http:www.isotc211.orgschemas2005gmd ISO19139 document http:metadata.dod.milmdrnsDDMS1.3 DEPARTMENT OF DEFENSE DISCOVERY METADATA STANDARD DDMS A CSW may accept a MIME type as the string value of the ResourceType parameter. If MIME types are accepted, the value of the MIME type shall match the value of the Content Type: MIME header when the resource is accessed by the catalogue. If these two values do not agree, the catalogue shall raise as exception A compliant server shall, in its Capabilities document, advertise the resource type URIs it recognizes using the Parameter element within the Operation element. EXAMPLE The following XML fragment illustrates how a catalogue server could advertise which resource types it can harvest: ows:Operation name=Harvest ... ows:Parameter name=ResourceType ows:Valuehttp:www.opengis.netwmsows:Value ows:Valuehttp:www.opengis.netwfsows:Value ows:Valuehttp:www.opengis.netwmsows:Value ows:Valuehttp:www.opengis.netwfsows:Value ows:Valuehttp:www.opengis.netcatcsw2.0.2ows:Value ows:Valueurn:ogc:def:resourceType:CSW:FGDCows:Value ows:Valuehttp:www.auslig.gov.audtdanzmeta-1.3.dtdows:Value ows:Valuehttp:metadata.dod.milmdrnsDDMS1.3ows:Value ows:Valueaudiompegows:Value ows:Valueapplicationpdfows:Value ows:Parameter ... ows:Operation

10.12.4.3 ResourceFormat parameter

The ResourceFormat parameter is used to indicate the encoding used for the resource being harvested. This parameter is included to support the harvesting of metadata resources available in various formats such as plain text, XML or HTML. The values of Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. 173 this parameter shall be a MIME type. If the parameter is not specified then the default value of applicationxml shall be assumed.

10.12.4.4 ResponseHandler parameter

The ResponseHandler parameter is a flag that indicates how the Harvest operation should be processed by a CSW server. If the parameter is not present, then the Harvest operation is processed synchronously meaning that the client sends the Harvest request to a CSW and then waits to receive a HarvestResponse or exception message as described in Subclause 10.3.7. The CSW immediately processes the Harvest request, while the client waits for a response. The problem with this mode of operation is that the client may timeout waiting for the server to process the request. If the parameter is present, the Harvest operation is processed asynchronously. In this case, the server responds immediately to a client’s request with an acknowledgement message as defined in Subclause 10.8.4.13. The acknowledgment message echoes the client’s request, using the EchoedRequest element, and may include an optionally generated request identifier using the RequestId element. The acknowledgement message tells the client that the request has been received and notification of completion will be send to the URL specified as the value of the ResponseHandler parameter. The Harvest request may then be processed at some later time taking as much time as is required to complete the operation. When the operation is completed, a HarvestResponse message or exception message per Subclause 10.3.7 if a problem was encountered is sent to the URL specified as the value of the ResponseHandler parameter.

10.12.4.5 HarvestInterval Parameter