ArcGIS API for JavaScript: test/TestPublish (MapServer)

Built using the ArcGIS API for JavaScript