On 19/08/10 08:49, apogliaghi wrote: > > This is my config in openlayers: > testWFS = new OpenLayers.Layer.Vector("edit2", { > strategies: [new OpenLayers.Strategy.BBOX(), saveStrategy], > projection: new OpenLayers.Projection("EPSG:4326"), > protocol: new OpenLayers.Protocol.WFS({ > version: "1.1.0", > srsName: "EPSG:4326", > url: "http://localhost:8080/geoserver/wfs", > featureNS : "and", > featureType: "edit2" > //geometryName: "the_geom" > //schema: > "http://localhost:8080/geoserver/wfs/DescribeFeatureType?version=1.1.0&typename=and:edit2" > }) > });
You may try something like: ... protocol: new OpenLayers.Protocol.WFS.v1_1_0({ url: "http://localhost:8080/geoserver/wfs", featureType: "edit2", featurePrefix: "and", featureNS: "http://www.example.com/and", srsName: "EPSG:4326" }) ... (replace http://www.example.com/and with your type's URL). Regards, -------------------- Luca Morandini www.lucamorandini.it -------------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users