OK so there was a problem in my assumptions here, but there's still something that doesn't quite make sense.
Requesting http://localhost:8080/geoserver/rest/workspaces.json gives each workspace's name and href. As the web administration screen asks you for a workspace URI I just stupidly assumed this is what href represents, but it isn't. Removing the href property from my JSON (second request) solves the problem. What I don't understand: why isn't the URI reported when I query workspaces.json or workspaces.xml? I believe (and could be wrong) that the workspace URI is required for WFS insert transactions, so it's not just a trivial value that can be defaulted and ignored. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Unable-to-create-workspace-via-REST-posting-JSON-tp4982817p4982818.html Sent from the GeoServer - User mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
