Does a rest service (running on ArcGIS Server 10.1 sp1) need to be refreshed (restarted) if the underlying filegeodatabase is updated?
it depends on what you mean by the database being updated. If you mean new features added, deleted or changed ( attributes or geometry) then No. But if there is a change to the database schema I.e. New fields added to an existing feature class or new feature class added then Yes.
Is that something new in 10.1? Because in 10.0 you need to restart it. First image shows a saved edit. Second image shows an active map service moments after the edit was made and saved, without restarting it...
It looks like you are editing an SDE feature class. Be sure that you are editing the same version that the service is created from. Also, you may need to clear your display cache (in ArcMap, Customize > ArcMap Options > Display Cache > Clear Cache).
I have found that whilst synchronising data between two databases arcmap would not immediately show the changes. If you started an editing session they would the show up. I think it's a bug with arcmap refreshing.
After synchronizing, try clicking the 'Refresh' tool on the Versioning toolbar.
Anthony and Jake- oops... My bad! The map service(s) that I publish combines feature classes from from a SDE geodatabase as well as a file geodatabase. Jake, you're observation is correct that my screen shots showed an edit to and sde centerlines feature class. Only.... The map service consumes a FGD centerlines feature class!
However, in a lame attempt to redeem myself, it only takes a second to refresh a published service so I haven't lost anything (but my pride) in doing so for the past year or so....
Thanks Anthony! This helps :-)
Retrieving data ...