Ruth:
I published my raster, which is stored on ArcGIS Server in a file geodatabase, as an Image Service. I added the image service to my AGX and, as Mark mentions, I enabled Pop Contents and was able to see the raster pixel value returned to me. The key for me was to publish the raster by itself as an image service.
Joe