Changing the href attribute to external url

655
1
09-22-2011 05:36 PM
KirkMower
New Contributor III
This should be simple, I know, but I have changed all my references in rest.config - except of course for servername - because servername in my experience should be distinct from the domain (or sub-domain) name. The problem is in my rest responses - instead of 'servername' in the href attribute, I want to the actual url name to appear in the request:

{"href":"http://aupdcdevesr02/arcgisoutput/_ags_map4455d3879aea43928d9a086b14fad9d8.png","width":900,"height":600,"extent":{"xmin":276622.751905615,"ymin":7339512.36291799,"xmax":1360887.42043495,"ymax":8062355.47527088,"spatialReference":{"wkid":28350}},"scale":9486111.11111109}

- in the above aupdcdevesr02 is my machine name - now I need this to be the fully qualified name for the external URL. I am using the .Net version - where can I change/force this? Every other URL - output etc. - is exposed and working through the external URL. Thanks.
0 Kudos
1 Reply
RaviNarayanan
Esri Contributor
Hi,

The Virtual output directory should be configured to be external URL and the service should be updated to use this external URL.

Please see this help topic for more info:
http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//009300001657...
0 Kudos