Hi all, I am doing the following via the GeoServer REST-API: I create a datastore based on a remote WFS [1]. This works fine. Then I try to publish a FeatureType of the remote WFS in my GeoServer by POSTing against /rest/workspaces/<WS>/datastores/<REMOTE-WFS-DS>/featuretypes. This gives me the error "Trying to create new feature type inside the store, but no attributes were specified". Due to some research I came to the point that the "nativeName" I provided in my POST body did not match with the one GeoServer expects. The original one of the remote WFS is "osm: osm-fuel" and GeoServer expects "osm_osm-fuel". So the ":" has been replaced with a "_". Is that a reliable pattern?
GeoServer version used is 2.17.1. Thanks in advance for any response. Cheers Chris [1] https://ows-demo.terrestris.de/geoserver/osm/wfs _______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users