ArcGIS API for JavaScript: dss/Service (MapServer)

Built using the ArcGIS API for JavaScript