[CITE-Forum] Basic WFS Tests

Richard Martell rmartell at galdosinc.com
Fri Jan 8 17:28:47 EST 2016


Ben,

One of the test suite preconditions failed ("Prerequisite not satisfied: No valid data available from WFS.").
Since no data were retrieved from the service under test, subsequent attempts to construct filter predicates all failed.

There is an open issue to make failing preconditions more obvious (and cause all remaining tests to be skipped).
<https://github.com/opengeospatial/ets-wfs20/issues/21>

That should dispel the mystery. But this doesn’t explain why no data were available.

Do make sure that the feature types listed in the capabilities document correspond to those defined in the app schema. For example, your query shows a feature type of {http://www.civica_gis.co.uk/namespaces}AncWood2.  However, the capabilities document lists {http://www.civica_gis.co.uk/namespaces}WFSTestPolygon in FeatureTypeList.

<http://gis-csd-01.cloudapp.net/WFS200Test/WFS/WFSHandler.ashx?service=WFS&version=2.0.0&request=GetCapabilities>


--
Richard


-----Original Message-----
From: CITE-Forum [mailto:cite-forum-bounces+rmartell=galdosinc.com at lists.opengeospatial.org] On Behalf Of Ben Halstead via CITE-Forum
Sent: Thursday, 07 January, 2016 08:22
To: cite-forum at lists.opengeospatial.org
Subject: [CITE-Forum] Basic WFS Tests

Hi Folks,

Thanks for all your help so far; we now pass Simple WFS.
Still some issues with Basic WFS - some confusing test return values.

propertyIsGreaterThanEqualTo_matchAny, propertyIsGreaterThan_matchAny, propertyIsLessThanEqualTo_matchAny, propertyIsLessThan_matchAny and propertyIsLessThan_matchAll return test errors of the form

XPath expression cannot be evaluated: xs:anySimpleType(ns1:ID) ge xs:anySimpleType('0.0')XPath syntax error at char 25 in {...pe(ns1:ID) ge xs:anySimpleT...}:
       Unknown constructor function: {http://www.w3.org/2001/XMLSchema}anySimpleType.

for a query url

http://gis-csd-01.cloudapp.net/WFS200Test/WFS/WFSHandler.ashx?service=WFS&version=2.0.0&request=GetFeature&count=10&startindex=0&typenames=ns55:AncWood2&namespaces=xmlns(xml,http://www.w3.org/XML/1998/namespace),xmlns(ns55,http://www.civica_gis.co.uk/namespaces),xmlns(wfs,http://www.opengis.net/wfs/2.0)&filter=%3CFilter%20xmlns%3D%22http%3A%2F%2Fwww.opengis.net%2Ffes%2F2.0%22%20xmlns%3Ans55%3D%22http%3A%2F%2Fwww.civica_gis.co.uk%2Fnamespaces%22%20xmlns%3Awfs%3D%22http%3A%2F%2Fwww.opengis.net%2Fwfs%2F2.0%22%3E%3CPropertyIsGreaterThanOrEqualTo%20matchAction%3D%22Any%22%20matchCase%3D%22true%22%3E%3CLiteral%3E0.0%3C%2FLiteral%3E%3CValueReference%20xmlns%3Atns%3D%22http%3A%2F%2Fwww.civica_gis.co.uk%2Fnamespaces%22%3Etns%3AID%3C%2FValueReference%3E%3C%2FPropertyIsGreaterThanOrEqualTo%3E%3C%2FFilter%3E

The returned GML/XML is considered valid by http://www.validome.org/xml/validate/

The error would seem to imply the test is expecting the query to be included in the response - but I cannot find any reference to this in the spec. Must be misunderstanding something.

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
https://lists.opengeospatial.org/mailman/listinfo/cite-forum


More information about the CITE-Forum mailing list