Opened 13 years ago

Closed 13 years ago

#1517 closed defect (fixed)

WFS 1.0.0 with multiple feature classes published by MapGuide can't be consumed

Reported by: liuar Owned by: liuar
Priority: medium Milestone:
Component: WFS Interface Version: 2.2.0
Severity: major Keywords:
Cc: External ID: 1361511

Description

WFS exception thrown -- version parameter is not specified.

Change History (2)

comment:1 by liuar, 13 years ago

DescribeFeature.EnumDelim.xml and DescribeFeature.EnumFeature.xml in wfs 1.0.0 template file 1.0.0.xml.awd should be updated by specifing a version 1.0.0.

 <Define item="DescribeFeature.EnumDelim.xml">
   <!-- &Enum.iteration; -->
   <xs:import schemaLocation="&Url.DescribeFeatureType;?request=DescribeFeatureType&amp;service=WFS&amp;version=1.0.0&amp;typeName=&Enum.item;"/>

 </Define>
 <Define item="DescribeFeature.EnumFeature.xml">
   <!-- &Feature.iteration; -->
   <xs:import schemaLocation="&Url.DescribeFeatureType;?request=DescribeFeatureType&amp;service=WFS&amp;version=1.0.0&amp;typeName=&Feature.FullName;"/>
 </Define>

I also correct the output format for GetFeature response for WFS 1.0.0

<Response request="GetFeature" content-type="text/xml; subtype=gml/2.1.2">
 <?GetFeatureCollection using="&GetFeatureCollection.xml;" ?>
</Response>

 <Define item="GetFeatureCollection.xml">
   <wfs:FeatureCollection &FeatureCollection.Namespaces;>
     <?EnumFeatures using="&GetFeature.xml;" ?> 
   </wfs:FeatureCollection>
 </Define>

comment:2 by liuar, 13 years ago

Resolution: fixed
Status: newclosed

Changeset [5373] by liuar

Note: See TracTickets for help on using tickets.