| There are 2 styles defined with the same name, one is a global style, the other is within a workspace: This is the REST request for the globas style: http://localhost:8080/geoserver/rest/styles.xml {{<styles> <style> <name>restteststyle</name> <atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="" type="application/xml"/> </style> </styles>}} Asking for details in the returned URL: http://localhost:8080/geoserver/rest/styles/restteststyle.xml {{<style> <name>restteststyle</name> <workspace> <name>testWorkspace</name> </workspace> <format>sld</format> <languageVersion> <version>1.0.0</version> </languageVersion> <filename>restteststyle.sld</filename> </style>}} it returns info about the style in the workspace instead the global one. |