I have successfully created a workspace + store + raster layer in Geoserver using Curl in PHP.
If I go back to Geoserver's UI and enter the Workspace that I have just created, the Settings: 'Enable' and any of the 'Services' are UNchecked (empty). I would like to enable them by using Curl.
If you visit: http://docs.geoserver.org/latest/en/user/rest/examples/curl.html#
Apparently the only -simplest?- way of creating a workspace in geoserver is by using the XML tags:
If I try to add new tags to the XML expression above, such as for instance
it gives you an error.
[500] No such field org.geoserver.catalog.impl.WorkspaceInfoImpl.enabled
So, Have anyone successfully configured those options of the Workspace by using Curl? For instance enabling WMS Services for that workspace?
By the way this post does not help too much:
Selecting service (WMS / WFS) through GeoServer REST API?
No comments:
Post a Comment