Request encoding |
This document defines two methods of encoding WFS 2.0.0 requests. The first uses XML as the encoding language. The second method uses keyword-value pairs to encode the various parameters of a request. An example of a keyword value pair is:
"REQUEST=GetCapabilities"
where "REQUEST" is the keyword and "GetCapabilities" is the value.
In both cases, the response to a request or exception reporting must be identical. The table below correlates WFS 2.0.0 operations and their encoding semantics as defined in this specification.
Table 1 Operation Request Encoding
| Operation | Request Encoding |
| GetCapabilities | XML & KVP |
| DescribeFeatureType |
XML & KVP |
| GetPropertyValue |
XML & KVP |
| GetFeature |
XML & KVP |
| LockFeature |
XML & KVP |
| GetFeatureWithLock |
XML & KVP |
| Transaction |
XML |
| CreateStoredQuery |
XML |
| DropStoredQuery |
XML & KVP |
| ListStoredQueries |
XML & KVP |
| DescribeStoredQueries |
XML & KVP |