[CITE-Forum] Basic WFS - unknown feature identifier

Ben Halstead ben.halstead at civica.co.uk
Thu Jan 7 13:22:44 EST 2016


The unknown feature identifier test uses a queryString
service=WFS&version=2.0.0&request=GetFeature&count=10&startindex=0&typenames=ns53:AncWood2&namespaces=xmlns(xml,http://www.w3.org/XML/1998/namespace),xmlns(ns53,http://www.civica_gis.co.uk/namespaces),xmlns(wfs,http://www.opengis.net/wfs/2.0)&resourceid=test-96ae4c59-7854-41a8-bb96-73d23ba63ed8
(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>
  </Exception>
</ExceptionReport>

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 ?

Thanks

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.





More information about the CITE-Forum mailing list