proxy.config
上传用户:huazai0421
上传日期:2008-05-30
资源大小:405k
文件大小:2k
源码类别:

SilverLight

开发平台:

C#

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!-- Proxy config is used to set the ArcGIS Server services that the proxy will forward to.
  3.         
  4.         mustMatch: true to only proxy to sites listed, false to proxy to any site -->
  5. <ProxyConfig mustMatch="true">
  6.   <serverUrls>
  7.     <!-- serverUrl options:
  8.             url = location of the ArcGIS Server, either specific URL or stem
  9.             matchAll = true to forward any request beginning with the url
  10.             token = (optional) token to include for secured service
  11.             dynamicToken = if true, gets token dynamically with username and
  12.               password stored in web.config file's appSettings section.
  13.     -->
  14.     <serverUrl url="http://sampleserver1.arcgisonline.com/arcgis/rest/services/" 
  15.                matchAll="true" />
  16.     <serverUrl url="http://sampleserver2.arcgisonline.com/arcgis/rest/services/" 
  17.                matchAll="true" 
  18.                token="" />
  19.   <serverUrl url="http://premium.arcgisonline.com/Server/rest/services"
  20.  matchAll="true"
  21.  token="bUIhUq3gQIglJzta55X81uA6gDgOHof5Ho68_N6Q_f1clp6dP8GWp1Yf2pC3eTih3uEIdhg6I1f3Nmm0HLUTJQ.." />
  22.   <serverUrl url="http://server.arcgisonline.com/arcgis/rest/services/"
  23.                matchAll="true" />
  24.     <serverUrl url="http://orthogonal.esri.com/arcgis/rest/services/"
  25.                matchAll="true" />
  26.     <serverUrl url="http://hummer/ArcGIS/rest/services"
  27.                matchAll="true"
  28.                dynamicToken="true" />
  29. <serverUrl url="http://www.rsoe.hu"
  30.  matchAll="true" token=""/>
  31. </serverUrls>
  32.   
  33. </ProxyConfig>