Hi,
I made a test with GS 2.5-beta. It fails with creating a store too. Geoserver send DescribeFeatureType but says that it can’t find layers.
I tested also with two other Mapserver family servers:
http://hip.latuviitta.org/cgi-bin/tinyows?service=WFS&version=1.0.0&request=GetCapabilities
- Success with creating store, did not test layers (increase timeout to 10 seconds)
http://hip.latuviitta.org/cgi-bin/mapserver_wfs?service=WFS&version=1.0.0&request=GetCapabilities
- No success
http://hip.latuviitta.org/cgi-bin/mapserver_wfs?service=WFS&version=1.1.0&request=GetCapabilities
- Success
So it might work (but not necessarily) if your service provides makes their Mapserver to support WFS 1.1.0 and that should be a reasonable thing for them to do. No need to update the version nor change the mapfiles, re-compiling could be enough, because the WFS 1.1.0 GetCapabilities error says:
msWFSGetCapabilities11(): WFS server error. WFS 1.1 request made, but mapserver requires libxml2 for WFS 1.1 services and this is not configured.
-Jukka Rahkonen-
···
Ron Lindhoudt wrote:
I cannot find more information in the geoserver logfiles.
I added org.geotools.data.wfs.level = FINEST to logging.properties in Tomcat and restarted it but nothing shows up.
On Friday, February 14, 2014 2:46 PM, Mauro Bartolomeoli mauro.bartolomeoli@anonymised.com wrote:
Hi Ron,
2014-02-04 7:52 GMT+01:00 Ron Lindhoudt <rlindhoudt@anonymised.com>:
I’m trying to make a webservice in Geoserver for the following WFS URL:
But it raises an error when I try to save it:
Could not list layers for this store, an error occurred retrieving them: null
Can you share the full stack trace Geoserver should have written in the logs?
It is a MapServer WFS that doesn’t use a namespace before the FeatureType Name.
Doesn’t Geoserver support this?
I did some fix to mapserver support in the past, but it was mainly related to the 1.1.0 version of the protocol. Does your mapserver support WFS 1.1.0? Did you try with this version too?
Mauro
–
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it/ for more information.
==
Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
http://twitter.com/geosolutions_it