skyillusion

Need Help.. Buffering a point using javascript

Discussion created by skyillusion on Jul 19, 2012
Latest reply on Jul 19, 2012 by skyillusion
Hi, currently I am working on my school project, and I need to buffer a point when I select a point from the map. I am currently trying to use this sample http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm to try and buffer a point. However, when i try to change the map server to the one needed for my project, they requested me to include a proxy url. So I did, and have added the following line to the proxy.config file "<serverUrl url="http://www.onemap.sg/arcgis/rest/services/" matchAll="true"></serverUrl>" and also added these on the javascript codes " esriConfig.defaults.io.proxyUrl = "http://localhost:8893/proxy.ashx";   esriConfig.defaults.io.alwaysUseProxy = false;". The results that was return to me was an error code, it is error code 400 with no message and saying that the error is 'inSR' parameter is invalid,'outSR' parameter is invalid. I am currently stuck as to what to do with it, any help would be appreciated..

Outcomes