sabman ha scritto: > 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?
Did you actually include your jar/project in the GeoServer application classpath? E.g, took the hello_rest jar and drop it into geoserver/WEB-INF/lib? Can you look in $GEOSERVER_DATA_DIR/logs/geoserver.log and see what exception (with full strack trace) is thrown when you try to access those URL's? Cheers Andrea ------------------------------------------------------------------------------ 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
