AnsweredAssumed Answered

Get data from SQL server via WebService for Cluster Points

Question asked by gopre400 on Apr 7, 2014
Latest reply on Apr 8, 2014 by gopre400
Hi I've been trying to modify https://developers.arcgis.com/javascript/jssamples/layers_point_clustering.html to pull data from SQL Server via WebService. I'm not quite sure how to approach it. Do I use the ESRIRequest() like in the example? Or an .Ajax call like I usually use to get data from WebService? Or some  other method?

Here is modified code from original example (I changed the URL to the Webservice)...The Webservice doesn't fire.

var source = esriRequest({
      "url": "SWUWebService.asmx/GetSWUMaintenanceESRI",
      "handleAs": "xml"
       });
source.then(addClusters, error);

Any help or example would be greatly appreciated.

Outcomes