I am a newbie and have been working with GeoServer for about 2 weeks now. I
have been asked to look into implementing a REST service to change the SLD
for the WMS images. 

I am running geoserver from the source code through eclipse. I am not sure
how to check the build date but the branch file in the source code has the
following content:
afabiani * r10114 /branches/1.7.x_WCS10EMF_ND: - Preparing for branching
afabiani * r10115 /branches/1.7.x_WCS10EMF_ND/geoserver:

The geoserver build already had a rest-1.7.5-SNAPSHOT.jar file under
WEB-INF/lib folder but I also installed the REST extension from 
http://downloads.sourceforge.net/geoserver/geoserver-1.7.5-restconfig-plugin.zip
here  and added the restconfig-1.7.5.jar under the same folder

I followed the instructions for the REST services available 
http://docs.geoserver.org/1.7.x/developer/programming-guide/rest-services/implementing.html
here . The only changes I had to make was in the pom.xml file where i
changed the org.geoserver versions to "1.7.5-SNAPSHOT" from "1.7.3-SNAPSHOT"
(i compared it with the other pom.xml files). The hello_rest module compiled
successfully. I then tried testing the rest service by going to the URL:

http://localhost:8080/geoserver/rest/hello.txt
http://localhost:8080/geoserver/rest/hello_rest/hello.txt
http://localhost:8080/geoserver/rest/hello_rest

I was not sure which one is correct so I tried all in the browser. And all I
see is this:

Geoserver Configuration API

    * exception

What am I doing wrong here? 

-- 
View this message in context: 
http://n2.nabble.com/Problems-with-implementing-REST-service-tp3129997p3129997.html
Sent from the GeoServer developers mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to