Exposing services to external users in 10.1

884
2
11-14-2013 09:42 AM
BradPosthumus
Occasional Contributor II
Services published in ArcGIS Server 10.1 to our production server are displaying internal URLs instead of our preferred external URL, particularly in the WMS GetCapabilities response. How can we change this URL?

In the 10.0 help it mentions changing the REST configuration file:
http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//009300001657...

This blog post gives similar information:
http://blogs.esri.com/esri/arcgis/2010/07/23/why-dont-some-of-the-links-work-in-my-arcgis-services-d...

However I haven't found anything comparable for 10.1. Is there something I'm missing? We are using a web adaptor with a pair of servers in our setup.
Tags (2)
0 Kudos
2 Replies
RandallWilliams
Esri Regular Contributor
Any way you can post a diagram of your site configuration? You could use an external capabilities file, but you shouldn't have to. I suppose that depends on the nature of the problem, though. What specifically is failing in the getcapabilities response?
0 Kudos
BradPosthumus
Occasional Contributor II
Hi Randall,

Here is the issue we're having. We're using a web adaptor for production that's inside our firewall. So internally, when we request getcapabilities, the OnlineResource tag looks something like this:

<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://webadaptor:8080/arcgis/services/folder/serviceName/MapServer/WmsServer?" />

To access this service outside of the firewall, users are routed through a proxy e.g. "www.example.com". The user can use it to access the getcapabilities:

"http://www.example.com/arcgis/services/folder/serviceName/MapServer/WMSServer?request=GetCapabilitie..."

But in the getcapabilities response it still shows "webadaptor:8080" in the URL, which is inaccessible to the user. So the question is, how can we change this to display "www.example.com" instead (as shown below)?

<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www.example.com/arcgis/services/folder/serviceName/MapServer/WmsServer?" />

We're hoping to do this without using an external capabilities file. The links I provided above make it sound like this was possible in 10.0, but I haven't found anything similar for 10.1 Maybe this isn't valid for a WMS served by ArcGIS Server?
0 Kudos