UNCLASSIFIED
Thanks for your help Ben and Andrea.

I guess the null namespace issue is a bit of a moot point anyway given that the 
WFS should not be serving features when the store is disabled.

We'll take your advice Ben about monitoring and re-enable the datastore via the 
REST API if indeed the store is available but disabled in GeoServer.

From: Andrea Aime [mailto:andrea.a...@geo-solutions.it]
Sent: Wednesday, 12 October, 2016 5:13 a.m.
To: Ben Caradoc-Davies
Cc: Johnson, Steven (Contractor); geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Null namespace in WFS response for layer based 
on disabled PostGIS store [SEC=UNCLASSIFIED]

On Tue, Oct 11, 2016 at 8:19 PM, Ben Caradoc-Davies 
<b...@transient.nz<mailto:b...@transient.nz>> wrote:
Andrea, I am sure you are right. I have closed this one as duplicated by 
GEOS-7792 (which links to this thread and the fixes for disabled layers). I 
note that I did not see the null behaviour in my tests with WFS 2.0 / GML 3.2.

Interesting, I've tried a similar path to the one that triggers the wfs 1.1 
null prefixes, but using the wfs 2.0 protocol, and I indeed could not reproduce 
either... not sure why?
This is what I've tried, on a freshly start up GeoServer:
http://localhost:8080/geoserver/topp/ows?service=WFS&version=2.0.0&request=GetFeature&typeName=topp:tasmania_cities&count=1
http://localhost:8080/geoserver/sf/ows?service=WFS&version=2.0.0&request=GetFeature&typeName=sf:roads&count=1

Cheers
Andrea

--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

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.

-------------------------------------------------------

IMPORTANT: This email remains the property of the Department of Defence and is 
subject to the jurisdiction of section 70 of the Crimes Act 1914. If you have 
received this email in error, you are requested to contact the sender and 
delete the email.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to