Select to view content in your preferred language

KVP encoded WFS requests when using the HTTP POST method

3731
1
06-21-2012 06:44 AM
Labels (1)
xavierlhomme
Regular Contributor
Hi guys

Does ArcGIS Server 10.0 handle KVP encoded WFS requests when using the HTTP POST method ?

From OGC 04-094 page 13 :
When using the HTTP POST method, the content type for XML encoded WFS requests must be set to text/xml.
When using the HTTP POST method, the content type for KVP encoded WFS requests must be set to application/x-www-form-urlencoded and the content of the document must be equivalent to the query string of an HTTP GET request. That is, the content must be equivalent to the string that follows the �???�?? character in a URL encoded GET request. Of course, the content must be encoded [10] to protect special characters.

Thanks in advance
Xavier Lhomme
GIS Architect / ESIRI Expert
0 Kudos
1 Reply
YingqiTang
Emerging Contributor
Hi,

No, ArcGIS Server 10.0 doesn't handle KVP encoded using HTTP POST, so it's either KVP through HTTP Get or request XML body through HTTP POST.

Thanks.

Hi guys

Does ArcGIS Server 10.0 handle KVP encoded WFS requests when using the HTTP POST method ?

From OGC 04-094 page 13 :
When using the HTTP POST method, the content type for XML encoded WFS requests must be set to text/xml.
When using the HTTP POST method, the content type for KVP encoded WFS requests must be set to application/x-www-form-urlencoded and the content of the document must be equivalent to the query string of an HTTP GET request. That is, the content must be equivalent to the string that follows the �???�?? character in a URL encoded GET request. Of course, the content must be encoded [10] to protect special characters.

Thanks in advance
0 Kudos