Hi All,
Is there another way of referencing geometry services or PrintTask using JavaScript other than using proxy? I want to buffer graphics and use PrintTask without using the following code.
esriConfig.defaults.io.proxyUrl = "<url_to_proxy>"
esriConfig.defaults.io.alwaysUseProxy = false;
Thanks
Solved! Go to Solution.
Hab,
To use your own print service the url would be similar:
http://myserver:6080/arcgis/rest/services/Utilities/PrintingTools/GPServer
Hi All,
I have managed to solve the geometry service without using proxy, just by pointing the new GeometryService to my ArcGIS Server Geometry Service URL as follows (Note that I have changed the name of my server to 'myserver').
new GeometryService("http://myserver:6080/arcgis/rest/services/Utilities/Geometry/GeometryServer");
However, I still need help with the PrintTask. Can anyone help please?
Hab,
To use your own print service the url would be similar:
http://myserver:6080/arcgis/rest/services/Utilities/PrintingTools/GPServer
Thanks Robert.