Dear all,
Here is a snippet of my code:
var wfsl= new OpenLayers.Layer.WFS( "MY WFS",
"http://localhost/geoserver/wfs?",
{typename: 'topp:mywfs'},
{ typename:
'topp:mywfs' });
var wff= new OpenLayers.Format.WFS({layerName:'topp:mywfs'},wfsl);
feature.state = OpenLayers.State.INSERT;
wff.insert(feature);
I simply want to insert the feature in my wfs layer but what I get is
"An attempt was made to create or change an object in a way which is
incorrect with regard to namespaces" code: 14"
I would like simply to find a way how to perform wfs transactions using an
imported wfs layer and feature that I created using openlayers example
"vector-formats".
Thank you
--
View this message in context:
http://n2.nabble.com/How-to-insert-that-I-digitized-Feture-in-my-WFS-layer--tp1518519p1518519.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users