Request encoding

Feedback


The OGC WFS 1.0.0 specification provides two ways to encode WFS requests: one is to use XML as the encoding language, and the other is to encode the variable parameters in the request in the form of keyword value pairs (KVP). Examples of keyword value pairs are as follows:

"REQUEST=GetCapabilities"

Where "REQUEST" is the keyword (parameter name) and "GetCapabilities" is the value.

The response or exception is the same for both encodings. The following table lists the request operation types supported by WFS 1.0.0 and the corresponding encoding types.

Table 1 Operation Request Code

Operation Request encoding
GetCapabilities XML & KVP
DescribeFeatureType

XML & KVP

GetFeature/GetFeatureWithLock

XML & KVP

LockFeature

XML & KVP

Transaction

XML & Limited KVP