Once selecting a GIS object and trying to connect it to an IFS object, the hereunder message fires. Seems my proxy definition is wrong, but I’m a bit lost amongst the different possibilities offered by documentation and what the integration tries to do in such a case as no IFS object is selected at that moment. Why choosing an option and not another ?
My actual proxy is : <serverUrl url="http://services.arcgisonline.com/ArcGIS/rest/services" matchAll="true"/>
Page 1 / 1
Hi, you need to at least add the URL mentioned in the error to your proxy config:
htps://services8.arcgis.com
So, something like this:
<serverUrl url="htps://services8.arcgis.com"
matchAll="true"/>
Or, include more of the URL to have the proxy support a narrower scope:
<serverUrl url="htps://services8.arcgis.com/that long random string I don't want to type/arcgis/rest/services"
matchAll="true"/>
If it’s just for a demo you can probably use the shorter version. For a proper production installation, you should not have too general (short) URLs in the proxy I think.
To make things easier for the demo you can also make your map service/layer public. Then the authentication will be simpler and you need to mess less with the proxy config.
Hi Mathias, Doesn’t seem to work either. Maybe it is because my basemap comes from http://server.arcgisonline.com/ArcGIS/rest/services while my GIS maps are coming from another url. Would you be available offline to get full explaination of the logic here ?
You could try adding that base URL as well. When it comes to basemaps the proxy is not used much, but I think it might be used when the map loads, to get the metadata for it.
As for understanding how it all works, the documentation should explain it. This is the main document:
Search for “Configuring the GIS proxy” on that page to see how the proxy can be configured.
When you install IFS, the proxy contains a quite good setup so that the standard basemaps should work well, and it also contains some examples that you can tweak. It seems this has been messed up in your installation. Here is the default proxy configuration: