Hmm, not sure about that one. The Map Service REST would pull the geometries for you. If you are not using an MXD, you'd need to write a Web Service of some sort using ArcObjects to get accesss to those geometries. Haven't tried that specific scenario though.