HTTP request rules |
The only Distributed Computing Platform (DCP) currently supported by OGC Web Services is World Wide Web, and Internet hosts implement the Hypertext Transfer Protocol, So the online resources for each operation supported by the service instance are identified by an HTTP URL (Uniform Resource Locator).
WFS 1.0.0 supports both GET and POST request methods for HTTP. Either of the two methods can be used to describe a particular OGC Web service type and is provided by the service instance. The two methods use different online resource URL.
The online resource URL used to form an HTTP GET request is a URL prefix that must be followed by additional parameters to form a valid operation request. URL The prefix is an opaque string that includes the protocol, host name, port number (optional), path, a question mark ( "?"), and one or more server-defined parameters (optional) that end with an "&". The URL prefix uniquely identifies a service instance. The client appends the necessary request parameters as name-value pairs ( "name = value &"). The resulting URL must conform to HTTP CGI (Common Gateway Interface) standard.
The URL prefix must end with either a "?" (Question mark), when there are no additional server-specific parameters, or an "&".
Table 1 Generic OGC Web Service Requests
URL composition | Description |
http://host[:port]/path?{name[=value]&} |
The URL prefix of the service operation. [] indicates an optional section, with 0 or 1 occurrences. {} means 0 or more occurrences. The prefix is entirely determined by the service providers. |
name=value& |
One or more standard request parameters defined by the OGC Web service in the form of parameter name/value pairs. The actual argument column, which consists of required or optional arguments, consists of the corresponding Each operational decision of the OWS (OGC Web Service) specification. |
The online resource URL used to compose an HTTP POST request. This URL is a complete and valid URL. The client is in Send the encoded request in the body of the POST request. WFS 1.0.0 cannot require additional parameters to be appended to the URL to construct a legitimate operation request.