I've encountered a problem with GeoServer REST in both 2.6.2 and 2.5.4 (though not, interestingly, in 2.3.1).
When adding a GeoTIFF with a path accessible to GeoServer, the server replies with:
The specified coverageName resttestdemis not supportedThis happens when I use cURL:
curl -X POST -d 'trueresttestdemresttestdemEPSG:4326REPROJECT_TO_DECLARED' http://admin:geoserver@localhost:80...ragestores/testRESTStoreGeotiff/coverages.xml --header "Content-Type:application/xml":The specified coverageName resttestdemis not supportedAnd also when I use GeoServer Manager:
08:22:15.077 [main] DEBUG httpclient.wire.header - >> "POST /geoserver/rest/workspaces/fake_rfe2/coveragestores/testRESTStoreGeotiff/coverages.xml HTTP/1.1[\r][\n]"08:22:15.079 [main] DEBUG o.a.c.httpclient.HttpMethodBase - Adding Host request header08:22:15.079 [main] DEBUG httpclient.wire.header - >> "Authorization: Basic YWRtaW46Z2Vvc2VydmVy[\r][\n]"08:22:15.079 [main] DEBUG httpclient.wire.header - >> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]"08:22:15.080 [main] DEBUG httpclient.wire.header - >> "Host: localhost:8080[\r][\n]"08:22:15.080 [main] DEBUG httpclient.wire.header - >> "Content-Length: 213[\r][\n]"08:22:15.080 [main] DEBUG httpclient.wire.header - >> "Content-Type: text/xml[\r][\n]"08:22:15.080 [main] DEBUG httpclient.wire.header - >> "[\r][\n]"08:22:15.081 [main] DEBUG httpclient.wire.content - >> "trueresttestdemresttestdemEPSG:4326REPROJECT_TO_DECLARED"08:22:15.081 [main] DEBUG o.a.c.h.m.EntityEnclosingMethod - Request body sent08:22:15.198 [main] DEBUG httpclient.wire.header -
When adding a GeoTIFF with a path accessible to GeoServer, the server replies with:
The specified coverageName resttestdemis not supportedThis happens when I use cURL:
curl -X POST -d 'trueresttestdemresttestdemEPSG:4326REPROJECT_TO_DECLARED' http://admin:geoserver@localhost:80...ragestores/testRESTStoreGeotiff/coverages.xml --header "Content-Type:application/xml":The specified coverageName resttestdemis not supportedAnd also when I use GeoServer Manager:
08:22:15.077 [main] DEBUG httpclient.wire.header - >> "POST /geoserver/rest/workspaces/fake_rfe2/coveragestores/testRESTStoreGeotiff/coverages.xml HTTP/1.1[\r][\n]"08:22:15.079 [main] DEBUG o.a.c.httpclient.HttpMethodBase - Adding Host request header08:22:15.079 [main] DEBUG httpclient.wire.header - >> "Authorization: Basic YWRtaW46Z2Vvc2VydmVy[\r][\n]"08:22:15.079 [main] DEBUG httpclient.wire.header - >> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]"08:22:15.080 [main] DEBUG httpclient.wire.header - >> "Host: localhost:8080[\r][\n]"08:22:15.080 [main] DEBUG httpclient.wire.header - >> "Content-Length: 213[\r][\n]"08:22:15.080 [main] DEBUG httpclient.wire.header - >> "Content-Type: text/xml[\r][\n]"08:22:15.080 [main] DEBUG httpclient.wire.header - >> "[\r][\n]"08:22:15.081 [main] DEBUG httpclient.wire.content - >> "trueresttestdemresttestdemEPSG:4326REPROJECT_TO_DECLARED"08:22:15.081 [main] DEBUG o.a.c.h.m.EntityEnclosingMethod - Request body sent08:22:15.198 [main] DEBUG httpclient.wire.header -