I have a problem with WFS layers, I am trying to call one up from geoserver,
here is the relavant code:

 

var Test = new OpenLayers.Layer.Vector(
                    "WFS",
                {
                    protocol: new OpenLayers.Protocol.WFS({
                              url: "http://localhost:7013/geoserver/wfs";,
                              featureType: 'topp:TESTVECTOR',
                              })
                });

the result is that the layer does not display, and there are no helpful
error messages in firebug.

When I change the directory nothing changes, even when I spell the folder
names wrong e.g.

url: "http://localhost:7013/goserver/wfs";,

so it seems like i am looking in the wrong place for the wfs, how do I find
the right place? is there a link between a folders location and its location
on geoserver?

I have also read in the openlayers guidebook that WFS is depreciated, are my
problems because it is about to be replaced? is there an alternative option
that i can use for viewing and editing vectors on geoserver?

Thanks for reading, 

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Using-a-WFS-layer-tp6981364p6981364.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to