[CITE-Forum] Newbie question: REST interface

Clemens Portele portele at interactive-instruments.de
Wed Dec 4 11:20:40 EST 2013


Peter,

Richard Martell from Galdos who developed the tests should be able to confirm, but I am pretty sure that you can ignore the reporter-output/line messages.

Clemens


Am 04 Dec 2013 um 17:17 schrieb Peter Parslow <Peter.Parslow at ordnancesurvey.co.uk<mailto:Peter.Parslow at ordnancesurvey.co.uk>>:

Clemens,
Thank you – I thought it would be something simple, and should have seen that.

My reading of the response for my XSD test is that the two ‘Success? false’ are about an ‘internal’ WFS not containing valid data; as I’ve only provided a schema to test, I don’t think that should bother me. There are a lot more in the GML test, but in the same places.

Further down the file, in the suite/test sections, I get a lot of status=”PASS”, which I am hoping is my actual result. It supports the attributes of the root testng-results element (failed=”0” passed=”9”)

Can anyone point me to an explanation of the reporter-output/line messages? Or at least confirm that I can ignore them?

Peter

From: Clemens Portele [mailto:portele at interactive-instruments.de]
Sent: 04 December 2013 15:53
To: Peter Parslow
Cc: cite-forum at lists.opengeospatial.org<mailto:cite-forum at lists.opengeospatial.org>
Subject: Re: [CITE-Forum] Newbie question: REST interface

Hi Peter,

you are using an "&" instead of a "?" to separate the query parameters.

For example, try: http://cite.opengeospatial.org/teamengine/rest/suites/gml/3.2.1-r11/run?xsd=http://www.ordnancesurvey.co.uk/xml/cmdschema/district/v1/OSVectorMapDistrict.xsd

Best regards,
Clemens

PS: When I just did it, the response included an element <reporter-output> that seemed to contain logging entries mostly from other executions of the GML or WFS 2.0 tests. No idea why this is included, but my guess is that this is an (potentially problematic) error.



Am 04 Dec 2013 um 16:08 schrieb Peter Parslow <Peter.Parslow at ordnancesurvey.co.uk<mailto:Peter.Parslow at ordnancesurvey.co.uk>>:


This is my first post; it's been several years since I tried the TEAM engine. I've been drawn back by the 'new' (to me) GML tests, and the imminent plugfest that we're hosting here at Ordnance Survey (http://www.opengeospatial.org/node/1892).

I would like to validate some of our recent schemas and products, for example OS VectorMap District. I tried to validate the schema by using a browser to access http://cite.opengeospatial.org/teamengine/rest/suites/gml/3.2.1-r11/run&xsd=http://www.ordnancesurvey.co.uk/xml/cmdschema/district/v1/OSVectorMapDistrict.xsd<http://cite.opengeospatial.org/teamengine/rest/suites/gml/3.2.1-r11/run&xsd=http:/www.ordnancesurvey.co.uk/xml/cmdschema/district/v1/OSVectorMapDistrict.xsd>

& to validate a sample of GML with http://cite.opengeospatial.org/teamengine/rest/suites/gml/3.2.1-r11/run&gml=https://dl.dropboxusercontent.com/u/19994880/HP40.gml<http://cite.opengeospatial.org/teamengine/rest/suites/gml/3.2.1-r11/run&gml=https:/dl.dropboxusercontent.com/u/19994880/HP40.gml>

In both cases I get a 404 status report 'Not Found'; 'The requested resource is not available'.

I suspect I'm misunderstanding the REST API of the test run controller.

Any advice would be welcome.

Thanks

Peter


Peter Parslow
Principal Geographic Information Architect
Content & Data Products, Ordnance Survey
Adanac Drive, SOUTHAMPTON, United Kingdom, SO16 0AS
Linked data / map: http://data.ordnancesurvey.co.uk/id/postcodeunit/SO160AS
Phone: +44 23 8005 5341
Mobile: +44 7796 610020
www.ordnancesurvey.co.uk<http://www.ordnancesurvey.co.uk/> | Peter.Parslow at ordnancesurvey.co.uk<mailto:Peter.Parslow at ordnancesurvey.co.uk>

Please consider your environmental responsibility before printing this email.


This email is only intended for the person to whom it is addressed and may contain confidential information. If you have received this email in error, please notify the sender and delete this email which must not be copied, distributed or disclosed to any other person.

Unless stated otherwise, the contents of this email are personal to the writer and do not represent the official view of Ordnance Survey. Nor can any contract be formed on Ordnance Survey's behalf via email. We reserve the right to monitor emails and attachments without prior notice.

Thank you for your cooperation.

Ordnance Survey
Adanac Drive
Southampton SO16 0AS
Tel: 08456 050505
http://www.ordnancesurvey.co.uk<http://www.ordnancesurvey.co.uk/>

_______________________________________________
CITE-Forum mailing list
CITE-Forum at lists.opengeospatial.org<mailto:CITE-Forum at lists.opengeospatial.org>
https://lists.opengeospatial.org/mailman/listinfo/cite-forum


This email is only intended for the person to whom it is addressed and may contain confidential information. If you have received this email in error, please notify the sender and delete this email which must not be copied, distributed or disclosed to any other person.

Unless stated otherwise, the contents of this email are personal to the writer and do not represent the official view of Ordnance Survey. Nor can any contract be formed on Ordnance Survey's behalf via email. We reserve the right to monitor emails and attachments without prior notice.

Thank you for your cooperation.

Ordnance Survey
Adanac Drive
Southampton SO16 0AS
Tel: 08456 050505
http://www.ordnancesurvey.co.uk



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengeospatial.org/pipermail/cite-forum/attachments/20131204/f4af5a32/attachment.html>


More information about the CITE-Forum mailing list