Hi,

I tried the same WFS servers as you did.  They both appear to be pretty old 
MapServers, of versions 4.8.1 and 4.8.3.  They do send the GetCapabilities 
response back to Geoserver but Geoserver does not want to parse the document. 
It is possible that GetCapabilities documents are not valid.

I would suggest to test with other WFS servers than old MapServer 4.x series 
servers.  I have not managed to use them ever with any other clients that 
browser and wget command line.  Try to find WFS servers made with Geoserver, 
deegree, TinyOWS version 1.0 or Mapserver 6.0.  You may still fail because WFS 
is a nasty standard but with current serve versions you have much better 
possibilities.

-Jukka Rahkonen-

________________________________
Marianna Borriello  wrote:

Dear Andrea,
attached you can find the geoserver log with the stack trace generated by an 
"add new layer" operation called on the datasource related to the following 
store
http://www.bsc-eoc.org/cgi-bin/bsc_ows.asp?version=1.0.0&service=WFS&request=GetCapabilities

Cheers,
Mariannna

On 16/06/2011 18.59, Andrea Aime wrote:
On Thu, Jun 16, 2011 at 6:40 PM, Marianna Borriello 
<[email protected]<mailto:[email protected]>> wrote:
Dear all,
I'd like to add some wfs stores to my Geoserver (I'm using the 2.1 version).

The wsf servers I'm trying to connect are those listed here:  
http://geoserver.org/display/GEOS/Available+WMS+and+WFS+servers
In particular I have successful added the following wfs stores:
 
http://www.bsc-eoc.org/cgi-bin/bsc_ows.asp?version=1.0.0&service=WFS&request=GetCapabilities
and
 
http://map.ns.ec.gc.ca/MapServer/mapserv.exe?map=/mapserver/services/envdat/config.map&service=WFS&version=1.0.0&request=GetCapabilities

but I can't publish any layer because in any case I have the following error:
Could not list layers for this store, an error occurred retrieving them: null

Check the logs and see what the actual stack trace is. Paste it in a mail so 
that we can see what is going on.

Cheers
Andrea


--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to