Can't be done...you'll need to publish your .shp file as a map service.
The other possibility, if you're not dealing with a large number of features (let's say <1000), is to convert your features to .json, grab them and then display them as graphics on top of a basemap.