1

I'm creating a new WFS-T feature but I'm getting the below exception when I try to send the feature:

No such feature type http://IP:PORT/geoserver/CARBONITA:bairros

link to gist:
https://gist.github.com/oiacrasec/e82a0fe6e30cfd5f8770fbfd43b6a49e

gist contains:
- Geoserver capabilities
- XML sent
- XML received
- Project files

2

your featureNS should be http://localhost:8080/CARBONITA instead

  • Hello, i changed from: var formatGML = new ol.format.GML({ featureNS: 'localhost:8080/geoserver/CARBONITA', featureType: 'bairros', srsName: epsg }); to: var formatGML = new ol.format.GML({ featureNS: 'localhost:8080/CARBONITA', featureType: 'bairros', srsName: epsg }); Got the exception: No such feature type localhost:8080/CARBONITA:bairros – Caio César Jan 5 '18 at 10:32
  • PS: My geoserver is online, im not running in localhost. Im using localhost here just for example. – Caio César Jan 5 '18 at 10:51
  • I dont know if this helps, when i edit my workspace the URI is localhost:8080/CARBONITA if i change to the real IP the sourceWFS doesnt work. I had to set localhost in workspace URI and i had to set in javascript the real IP. – Caio César Jan 5 '18 at 10:56
  • Another important thing, everything i have was imported from a shapefile. – Caio César Jan 5 '18 at 16:49
  • You mention that the server is online. Is it possible to access the server in order to check why the calls are failing? – Dennis Bauszus Jan 8 '18 at 16:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.