<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Visual Studio Web Server Cannot Access REST Endpoint in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/visual-studio-web-server-cannot-access-rest/m-p/346628#M8920</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Our data is hosted on ArcGIS Server 10.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Every request goes through a proxy server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So the clientaccesspolicy.xml is NOT allowing my silverlight to access the REST endpoint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Code: 4004&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cannot access REST endpoint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This only happens when using my local web dev sever in VS 2010.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If the network admin opens up the proxy (*) - then anyone can access it (including my test server in Silverlight), but this is obviously a security issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt;&lt;SPAN&gt; How do you alter the clientaccesspolicy.xml (or the proxy server) to allow a local VS web server (&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/localhost:port/projectsitename"&gt;http://localhost:port/projectsitename&lt;/A&gt;&lt;SPAN&gt;...) to access the REST end point?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Feb 2013 14:40:13 GMT</pubDate>
    <dc:creator>BradErickson</dc:creator>
    <dc:date>2013-02-08T14:40:13Z</dc:date>
    <item>
      <title>Visual Studio Web Server Cannot Access REST Endpoint</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/visual-studio-web-server-cannot-access-rest/m-p/346628#M8920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Our data is hosted on ArcGIS Server 10.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Every request goes through a proxy server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So the clientaccesspolicy.xml is NOT allowing my silverlight to access the REST endpoint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Code: 4004&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cannot access REST endpoint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This only happens when using my local web dev sever in VS 2010.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If the network admin opens up the proxy (*) - then anyone can access it (including my test server in Silverlight), but this is obviously a security issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt;&lt;SPAN&gt; How do you alter the clientaccesspolicy.xml (or the proxy server) to allow a local VS web server (&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/localhost:port/projectsitename"&gt;http://localhost:port/projectsitename&lt;/A&gt;&lt;SPAN&gt;...) to access the REST end point?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 14:40:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/visual-studio-web-server-cannot-access-rest/m-p/346628#M8920</guid>
      <dc:creator>BradErickson</dc:creator>
      <dc:date>2013-02-08T14:40:13Z</dc:date>
    </item>
  </channel>
</rss>

