Ticket #2444 (closed defect: fixed)
WFS 1.0.0 GetFeature response when no feature is found must be null
| Reported by: | nsavard | Owned by: | tomkralidis |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.2 release |
| Component: | WFS Server | Version: | 5.0 |
| Severity: | normal | Keywords: | OGC,Cite,TEAM,WFS 1.0.0 |
| Cc: | assefa |
Description
When a GetFeature? is issued to a WFS 1.0.0 server and that no feature is found, the response from this server must be null instead of an exception.
This is some information here:
http://mail.opengeospatial.org/pipermail/wfs-dev/2003-January/000098.html
Actual response from the server is:
<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">
msQueryByRect(): Search returned no results. No matching record(s) found.
</ServiceException>
</ServiceExceptionReport>
The request sent is: http://dev1.lan.mapgears.com/manwe/cgi-bin/mswfs100_ogc_cite? &service=WFS&version=1.0.0&request=GetFeature?&typename=cgf:Points& filter=%3Cogc%3AFilter+xmlns%3Aogc%3D%22 http%3A%2F%2Fwww.opengis.net%2Fogc%22+xmlns%3Agml%3D%22 http%3A%2F%2Fwww.opengis.net%2Fgml%22%3E%3Cogc%3ABBOX%3E%3C ogc%3APropertyName%3Egml%3ApointProperty%3C%2F ogc%3APropertyName%3E%3Cgml%3ABox+xmlns%3D%22 http%3A%2F%2Fwww.opengis.net%2Fcite%2FspatialTestSuite%22+ srsName%3D%22EPSG%3A32615%22%3E%3Cgml%3A coordinates%3E500100%2C500000+500200%2C500100%3C%2Fgml%3A coordinates%3E%3C%2Fgml%3ABox%3E%3C%2Fogc%3ABBOX%3E%3C%2F ogc%3AFilter%3E
