How to enable POST service for DescribeFeatureType? Presently the GetCapabilities document outputs the following (notice the Post is commented out). Or can anyone confirm that POST is not supported?
Response to GetCapabilities shows that only GET operation is supported. We'd like to use POST if possible.
<!- DescribeFeatureType -->
<ows:Operation name="DescribeFeatureType">
<ows:DCP>
<ows:HTTP>
<ows:Get xlink:href="http://spifs047/mapserver2013/mapagent/mapagent.fcgi?" />
<!-ows:Post xlink:href="http://spifs047/mapserver2013/mapagent/mapagent.fcgi"/-->
</ows:HTTP>
</ows:DCP>
<ows:Parameter name="outputFormat">
<ows:Value>GML2</ows:Value>
<ows:Value>text/xml; subtype=gml/2.1.2</ows:Value>
<ows:Value>GML3</ows:Value>
<ows:Value>text/xml; subtype=gml/3.1.1</ows:Value>
</ows:Parameter>
</ows:Operation>
Also asked here:
If you uncomment the OWS post entry for the DescribeFeatureType operation in $SERVER_INSTALL/Wfs/1.1.0.xml.awd does it work?
- Jackie
I did not try that but I did try submitting a POST but the response was empty. I learned that it is possible to increase the querystring length in IIS* which was my resolution to this problem. An alternative is not providing a TYPENAME but for some reason the response contains schema references and not the actual schema resulting having to query the server once per featuretype to get the schema for that featuretype.
*http://www.iis.net/configreference/system.webserver/security/requestfiltering/requestlimits