nubian_consulting

'Difference'  in 'geometryservice' not working when app is on apache server

Discussion created by nubian_consulting on May 9, 2014
Latest reply on May 13, 2014 by JGravois-esristaff
Dear All,

I am writing here to enquire whether others who use ArcGIS API for Javascript have also had the following problem, and if so, whether you could advise on a solution.

The Problem: The 'difference' method under the 'geometryservice' class works on my machine locally (when I run the javascript from dreamweaver), but when I put the html file on my server and try to access it online, the method does not work and returns the error message.

This is puzzling because I have another geometry service - 'buffer', which works on both my local machine and when on the server.

Other points:
- url sourcing javascript theme: http://js.arcgis.com/3.9/js/dojo/dijit/themes/claro/claro.css
- url sourcing javascript api: http://js.arcgis.com/3.9/js/esri/css/esri.css
- url sourcing other javascript esri info: http://js.arcgis.com/3.9/
- link to geometry service api reference page: https://developers.arcgis.com/javascript/jsapi/geometryservice.html

Any advice or pointers would be very much appreciated. Please do let me know if you require more information/ code snippets and I would be more than happy to do so.

Kind Regards,

Naveen

Outcomes