Select to view content in your preferred language

can i publish my GIS data on some server other than ArcGIS Server ?

1190
2
02-14-2011 06:08 AM
MustafaNoor
Emerging Contributor
queryTask = new esri.arcgis.gmaps.QueryTask("http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3");

The above line of code uses Esri Sample Server. Similarly i want to use same code but with different server. e.g, http://93.20.10.12/demo server. (this is our demo server where i put my shapefiles)

Is it possible ? if not, Is there any other alternative ?
0 Kudos
2 Replies
zeeshanbhatti
Emerging Contributor
This is not possible. which have purchased ARCGIS Server from Esri to load over GIS data.

Regards,
Zeeshan
0 Kudos
Charles__Jamie_Phillips
Occasional Contributor
So, you want to use your own ArcGIS Server service in the javascript API?  If that is what you want to do then yes you can use your own service, just make sure that the spatial reference matches the map.

However, if you want to use a non ArcGIS Server service then you will need to get the data back and create a graphics layer from the data.
0 Kudos