<serverUrl url="http://services.arcgisonline.com/ArcGIS/rest/services/" matchAll="true"></serverUrl> <serverUrl url="http://sampleserver1.arcgisonline.com/arcgis/rest/services/" matchAll="true"></serverUrl> <serverUrl url="http://sampleserver2.arcgisonline.com/arcgis/rest/services/" matchAll="true" token=""></serverUrl> <serverUrl url="http://server.arcgisonline.com/arcgis/rest/services/" matchAll="true"></serverUrl> <serverUrl url="http://orthogonal.esri.com/arcgis/rest/services/" matchAll="true"></serverUrl>
One more thing, this is not just for print service. It happens for any types of service, for example geometry service. If you are trying to reproject a geometry through a geometry service, and the domain of the geometry service has not been accessed before, the same situation will happen. It will send a call to rest info to decide if CORS is supported or not, but the first request to the geometry service will go through proxy since it doesn't know the result yet from the rest info call.
One more thing, this is not just for print service. It happens for any types of service, for example geometry service. If you are trying to reproject a geometry through a geometry service, and the domain of the geometry service has not been accessed before, the same situation will happen. It will send a call to rest info to decide if CORS is supported or not, but the first request to the geometry service will go through proxy since it doesn't know the result yet from the rest info call.
I'm getting the same error message when trying to make a request directly from the REST endpoint, so no proxy involved, right? Get the error even when I'm remoted in to the machine where Server resides.
Any thoughts appreciated.
Mike