Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have downloaded and installed GeoServer 2.1-RC1 which shipped with RESTconfig. How can i check whether REST service is installed with GeoServer or Not ?

I put this "http://localhost:8080/geoserver/rest" in my browser, but it gives error! ... It means REST service is not installed as i understand. Or is there any other method to check whether the service is installed or not ?

share|improve this question
    
You've asked about 20 questions and have NEVER given ANYONE credit for any answers. You are the first person i see with a 0% acceptance rate which makes me think you don't know how stackexchange works. Give credit to an answer by selecting the check mark next to the answer. This means you "accept" the answer (even if it's not 100% correct). It might be the best answer. Please improve your acceptance rate by reviewing your questions and accepting answers, or people will be reluctant to help you. –  CaptDragon Jun 8 '11 at 15:42
add comment

2 Answers 2

Have you tried any of the configuration examples in the docs (here)?

You can access layer information through e.g. http://localhost:8080/geoserver/rest/layers/giant_polygon.html

Publishing a shapefile works like this:

Consider a directory on the server /data/shapefiles/roads that contains the Shapefile roads.shp. The following adds a new datastore for the Shapefile:

curl -u admin:geoserver -XPUT -H 'Content-type: text/plain' \
-d 'file:///data/shapefiles/roads/roads.shp' \
http://localhost:8080/geoserver/rest/workspaces/acme/datastores/roads/external.shp

Source: Geoserver REST Docs (Also describes how to add a PostGIS layer.)

share|improve this answer
    
Actually i want to know, How i publish my data –  user1899 Feb 13 '11 at 20:34
    
Please explain which step is causing you troubles. Have you checked docs.geoserver.org/stable/en/user/gettingstarted/index.html? –  underdark Feb 13 '11 at 20:42
    
Actually i want to know, How i publish my data by using REST service. because My data is published by Geoserver default protocols wfs or wms. I can see wms, wfs and wcs services on geoserver web page services section at localhost:8080/geoserver/web. But i could not see REST any where. How can i see REST or can check wether its available or not? –  user1899 Feb 13 '11 at 20:43
    
Have you tried something like localhost:8080/geoserver/rest/layers/giant_polygon.html? –  underdark Feb 13 '11 at 21:15
2  
I doubt that it is possible to get ArcGIS Javascript API to work with Geoserver using REST. Why not use something standardized like WMS? help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/… –  underdark Feb 14 '11 at 12:15
show 8 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.