[CITE-Forum] Basic WFS - unknown feature identifier

Richard Martell rmartell at galdosinc.com
Fri Jan 8 13:09:41 EST 2016


The unknownFeatureIdentifier test expects an empty wfs:FeatureCollection in response because there is no feature with that id. 
The constraint you cite seems to apply if there _is_ a feature with the specified id but its type doesn’t appear in TYPENAMES.

However, your interpretation is not unreasonable (i.e. a "null" feature instance has no type). Perhaps the TYPENAMES param should be dropped from this test and a new test added to cover that particular constraint in cl.; in fact, there is a method stub for such a test (inconsistentFeatureIdentifierAndType).


-----Original Message-----
From: CITE-Forum [mailto:cite-forum-bounces at lists.opengeospatial.org] On Behalf Of Ben Halstead via CITE-Forum
Sent: Thursday, 07 January, 2016 10:23
To: cite-forum at lists.opengeospatial.org
Subject: [CITE-Forum] Basic WFS - unknown feature identifier

The unknown feature identifier test uses a queryString
(for a base url http://gis-csd-01.cloudapp.net/WFS200Test/WFS/WFSHandler.ashx?SERVICE=WFS&Version=2.0.0&REQUEST=GetCapabilities)

To which we return

<ExceptionReport version="2.0.0">
  <Exception exceptionCode="InvalidParameterValue" locator="RESOURCEID">
    <ExceptionText>Typenames exist in the Resource ID that do not exist within the Typename parameter, check the following AncWood2</ExceptionText>

The test suite reports
Unexpected HTTP status code. expected [200] but found [400] However, the spec says:
If both the TYPENAMES and RESOURCEID parameters are specified then all the feature instances identified by the RESOURCEIDparameter shall be of the type specified by the TYPENAMES parameter; otherwise the server shall raise anInvalidParameterValue exception (see OGC 06-121r3:2009, Table 25) where the "locator" attribute (see OGC06-121r3:2009, 8.4) value shall be set to "RESOURCEID".

Which would seem to match our response. What is the test expecting ?


Ben Halstead

Ben Halstead | Development Manager | Civica UK Limited
Tel: 0845 071 6220
e-mail: ben.halstead at civica.co.uk | http://www.civica.co.uk<http://www.civica.co.uk/>

■ Hull City Council officially signs seven year partnership with Civica... more<https://www.civica.co.uk/articles/860-Hull-City-Council-officially-signs-seven-year-partnership-with-Civica>
■ Exciting Bristol Opportunities... more<https://www.civica.co.uk/articles/859-Exciting-Bristol-Opportunities->
■ Partnership: the foundation of a changing state... more<https://www.civica.co.uk/articles/857-Partnership-the-foundation-of-a-changing-state>

Civica UK Limited<http://www.civica.co.uk/>

This e-mail is sent for and on behalf of Civica UK Limited company number 01628868,

Civica Services Limited company number 02374268, or Civica Group Limited company number 04968437.

All companies are registered in England and Wales and each has its registered office at 2 Burston Road, Putney, London, SW15 6AR.

Confidentiality: This e-mail and its attachments are intended for the above named only and may be confidential. If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone. If you have received this in error please advise the sender by replying to this e-mail immediately highlighting the error and deleting it from your system.

CITE-Forum mailing list
CITE-Forum at lists.opengeospatial.org

More information about the CITE-Forum mailing list