Opened 18 years ago

Closed 18 years ago

#1554 closed defect (fixed)

[WFS] TYPENAME is mandatory for GetFeature

Reported by: assefa Owned by: mapserverbugs
Priority: high Milestone:
Component: WFS Server Version: unspecified
Severity: normal Keywords:
Cc:

Description

Reprorted by Bart :

 there is a little error in the HTTP GET interface of Mapserver WFS.

When doing a GetFeature request and not specifying a typename, all advertized 
layers are retrieved in the GML.

According to the WFS 1.0.0 spec typename is required, unless featureid is 
specified. The last is not the case, so typename should be mandatory.

Change History (1)

comment:1 by assefa, 18 years ago

Resolution: fixed
Status: newclosed
Summary: [WFS] TYPENAME is mandatory for GetFeature [WFS] TYPENAME is mandatory for GetFeature
Fixed. Exception sent if typename is not present :

 - <ServiceExceptionReport xmlns="http://www.opengis.net/ogc" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.opengis.net/ogc 
http://schemas.opengis.net/wms/1.1.1/OGC-exception.xsd">
  <ServiceException>msWFSGetFeature(): WFS server error. Incomplete WFS 
request: TYPENAME parameter missing</ServiceException> 
  </ServiceExceptionReport>
Note: See TracTickets for help on using tickets.