ArcGIS API for JavaScript: Clip_and_ship/test01 (MapServer)
Built using the ArcGIS API for JavaScript