outputFormat "text/xml; subtype=gml/3.2" don't eppear in section describefeaturetype in getcapabilities response in GeoServer 2.1-beta3
---------------------------------------------------------------------------------------------------------------------------------------
Key: GEOS-4290
URL: http://jira.codehaus.org/browse/GEOS-4290
Project: GeoServer
Issue Type: Bug
Components: WFS
Affects Versions: 2.1-beta3
Reporter: Bartłomiej Burkot
Assignee: Andrea Aime
In getcapabilities's response
?SERVICE=WFS&REQUEST=GetCapabilities&VERSION=1.1.0
there is the outputFormat GML 3.2.1 in Getfeature section but for DescribeFeatureType it is only gml 3.1.1 support.
OutputFormat GML32 isn't present for DescribeFeatureType?
Under I add a piece of getcapabilities response
When I issu describefeaturetype with parameter outputFormat GML 3.2.1:
?service=wfs&version=1.1.0&request=DescribeFeatureType&outputFormat=text/xml; subtype=gml/3.2&typename=tbd:onetypename
i get on top of xml response xsd:import namespace="http://www.opengis.net/wfs/2.0":
<xsd:schema elementFormDefault="qualified" targetNamespace="http://www.probka.gugik.gov.pl/TBD">
<xsd:import namespace="http://www.opengis.net/wfs/2.0" schemaLocation="http://192.168.1.102:8085/geoserver/schemas/gml/3.2.1/gml.xsd"/>
This seems to point to WFS 2.0 insteed of 1.1.0 as in request parameter ?service=wfs&version=1.1.0
Response with &outputFormat=text/xml; subtype=gml/3.1.1 from:
?service=wfs&version=1.1.0&request=DescribeFeatureType&outputFormat=text/xml; subtype=gml/3.1.1&typename=tbd:onetypename
is correct.
A piece of getcapabilities document:
<ows:Operation name="DescribeFeatureType">
−
<ows:DCP>
−
<ows:HTTP>
<ows:Get xlink:href="http://localhost:8080/geoserver/wfs"/>
<ows:Post xlink:href="http://localhost:8080/geoserver/wfs"/>
</ows:HTTP>
</ows:DCP>
−
<ows:Parameter name="outputFormat">
<ows:Value>text/xml; subtype=gml/3.1.1</ows:Value>
</ows:Parameter>
</ows:Operation>
−
<ows:Operation name="GetFeature">
−
<ows:DCP>
−
<ows:HTTP>
<ows:Get xlink:href="http://localhost:8080/geoserver/wfs"/>
<ows:Post xlink:href="http://localhost:8080/geoserver/wfs"/>
</ows:HTTP>
</ows:DCP>
−
<ows:Parameter name="resultType">
<ows:Value>results</ows:Value>
<ows:Value>hits</ows:Value>
</ows:Parameter>
−
<ows:Parameter name="outputFormat">
<ows:Value>text/xml; subtype=gml/3.1.1</ows:Value>
<ows:Value>GML2</ows:Value>
<ows:Value>GML2-GZIP</ows:Value>
<ows:Value>SHAPE-ZIP</ows:Value>
<ows:Value>csv</ows:Value>
<ows:Value>gml3</ows:Value>
<ows:Value>gml32</ows:Value>
<ows:Value>json</ows:Value>
<ows:Value>text/xml; subtype=gml/2.1.2</ows:Value>
<ows:Value>text/xml; subtype=gml/3.2</ows:Value>
</ows:Parameter>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira