[CITE-Forum] Issues in wfs-11 tests with GeoServer - part 1

Justin Deoliveira jdeolive at boundlessgeo.com
Tue Sep 16 16:14:56 EDT 2014


It would be nice if the server didn't have to make hacks like this and
instead put the onus on the client to make a request with a valid url.

On Tue, Sep 16, 2014 at 12:57 PM, Mauro Bartolomeoli <
mauro.bartolomeoli at geo-solutions.it> wrote:

> Hi Sebastian,
> ok, adding the ? to url endpoints in GetCapabilities document worked.
> Still curious on why this is needed.
> If you can find out the reason, I would be glad to know it.
>
> Thanks
> Mauro
>
> 2014-09-15 13:57 GMT+02:00 Sebastian Goerke <goerke at lat-lon.de>:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Dear Mauro,
>>
>> I remember, the other way arround was an issue some time ago. I think
>> there are reasons, why the ? is absent here. Are you able to simply
>> add the ? to your request URL within the capabilities?
>>
>> For sure, I will investigate for that issue I mentioned.
>>
>> Best regards
>>
>> Sebastian
>>
>> Am 13.09.2014 um 23:37 schrieb Mauro Bartolomeoli:
>> > Hi, we are currently testing the latest release of cite tests with
>> > the latest version of GeoServer and having some issues with wfs 1.1
>> > tests.
>> >
>> > Some of them seem to be "bugs" in the tests themselves. Can you
>> > help me understand if this is the case and how they can be
>> > eventually solved?
>> >
>> > The first set of failing tests are:
>> >
>> > wfs:wfs-1.1.0-Basic-GetCapabilities-tc9.2
>> > (https://github.com/opengeospatial/ets-wfs11/issues/9)
>> > wfs:wfs-1.1.0-Basic-GetCapabilities-tc16.5
>> > (https://github.com/opengeospatial/ets-wfs11/issues/10)
>> >
>> > The reason of the failure is that the basic url is concatenated to
>> > query parameters without a question mark (?) char to join them, so
>> > the final url is something like:
>> >
>> >
>> http://localhost:8080/geoserver/wfsversion=1.1.0#request=GetCapabilities,service=WFS
>> >
>> >  instead of
>> >
>> >
>> http://localhost:8080/geoserver/wfs?version=1.1.0#request=GetCapabilities,service=WFS
>> >
>> >  Of course the server is not recognizing the request because
>> > "wfsversion" is not a valid end point and so the user gets a 404
>> > instead of a proper exception, as expected by the test.
>> >
>> > Is there any way to handle this or to fix the test in some way?
>> >
>> > Thanks Mauro
>> >
>> >
>> >
>> > -- == GeoServer Professional Services from the experts! Visit
>> > http://goo.gl/NWWaa2 for more information. ==
>> >
>> > Dott. Mauro Bartolomeoli @mauro_bart Senior Software Engineer
>> >
>> > GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054  Massarosa
>> > (LU) Italy phone: +39 0584 962313 fax:     +39 0584 1660272
>> >
>> > http://www.geo-solutions.it http://twitter.com/geosolutions_it
>> >
>> > -------------------------------------------------------
>> >
>> > *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
>> >
>> > Le informazioni contenute in questo messaggio di posta elettronica
>> > e/o nel/i file/s allegato/i sono da considerarsi strettamente
>> > riservate. Il loro utilizzo è consentito esclusivamente al
>> > destinatario del messaggio, per le finalità indicate nel messaggio
>> > stesso. Qualora riceviate questo messaggio senza esserne il
>> > destinatario, Vi preghiamo cortesemente di darcene notizia via
>> > e-mail e di procedere alla distruzione del messaggio stesso,
>> > cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
>> > divulgarlo anche in parte, distribuirlo ad altri soggetti,
>> > copiarlo, od utilizzarlo per finalità diverse, costituisce
>> > comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
>> >
>> >
>> >
>> > The information in this message and/or attachments, is intended
>> > solely for the attention and use of the named addressee(s) and may
>> > be confidential or proprietary in nature or covered by the
>> > provisions of privacy act (Legislative Decree June, 30 2003, no.196
>> > - Italy's New Data Protection Code).Any use not in accord with its
>> > purpose, any disclosure, reproduction, copying, distribution, or
>> > either dissemination, either whole or partial, is strictly
>> > forbidden except previous formal approval of the named
>> > addressee(s). If you are not the intended recipient, please contact
>> > immediately the sender by telephone, fax or e-mail and delete the
>> > information in this message that has been received in error. The
>> > sender does not give any warranty or accept liability as the
>> > content, accuracy or completeness of sent messages and accepts no
>> > responsibility for changes made after they were sent or for other
>> > risks which arise as a result of e-mail transmission, viruses,
>> > etc.
>> >
>> >
>> >
>> > _______________________________________________ CITE-Forum mailing
>> > list CITE-Forum at lists.opengeospatial.org
>> > https://lists.opengeospatial.org/mailman/listinfo/cite-forum
>> >
>>
>> - --
>> l a t / l o n  GmbH
>> Aennchenstrasse 19               53177 Bonn, Germany
>> phone ++49 +228 18496-0          fax ++49 +228 18496-29
>> http://www.lat-lon.de            http://www.deegree.org
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1
>>
>> iEYEARECAAYFAlQW1EIACgkQq1hDh4aJykJh1QCfSxTawnnwWyXdD75wzaMGAIdc
>> ockAoMQPeH/WO622DKqsIzgOviZCda0E
>> =hdA/
>> -----END PGP SIGNATURE-----
>> _______________________________________________
>> CITE-Forum mailing list
>> CITE-Forum at lists.opengeospatial.org
>> https://lists.opengeospatial.org/mailman/listinfo/cite-forum
>>
>
>
>
> --
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/NWWaa2 for more information.
> ==
>
> Dott. Mauro Bartolomeoli
> @mauro_bart
> Senior Software Engineer
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax:     +39 0584 1660272
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------
>
> *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
>
> Le informazioni contenute in questo messaggio di posta elettronica e/o
> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
> darcene notizia via e-mail e di procedere alla distruzione del messaggio
> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
> principi dettati dal D.Lgs. 196/2003.
>
>
>
> The information in this message and/or attachments, is intended solely for
> the attention and use of the named addressee(s) and may be confidential or
> proprietary in nature or covered by the provisions of privacy act
> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
> Code).Any use not in accord with its purpose, any disclosure, reproduction,
> copying, distribution, or either dissemination, either whole or partial, is
> strictly forbidden except previous formal approval of the named
> addressee(s). If you are not the intended recipient, please contact
> immediately the sender by telephone, fax or e-mail and delete the
> information in this message that has been received in error. The sender
> does not give any warranty or accept liability as the content, accuracy or
> completeness of sent messages and accepts no responsibility  for changes
> made after they were sent or for other risks which arise as a result of
> e-mail transmission, viruses, etc.
>
> _______________________________________________
> CITE-Forum mailing list
> CITE-Forum at lists.opengeospatial.org
> https://lists.opengeospatial.org/mailman/listinfo/cite-forum
>
>


-- 
Justin Deoliveira
VP Engineering | Boundless <http://boundlessgeo.com/>
jdeolive at boundlessgeo.com
@boundlessgeo <http://twitter.com/boundlessgeo/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengeospatial.org/pipermail/cite-forum/attachments/20140916/294dabcf/attachment.html>


More information about the CITE-Forum mailing list