<?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 Basemap Gallery - proxy page error in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-gallery-proxy-page-error/m-p/719201#M66774</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I use a proxy page (for accessing http basic secured web services), I get an error when using the Basemap gallery. The initial background is displayed ok, as are the vector layers on top. I get the error when tryien to switch the basemap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Firebug report:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;error is in BasemapGallery.xd.js, line 19&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"TypeError: _32.serviceInfoResponse is undefined"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Config:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS Server 10, java edition&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;windows server 2008&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;script type="text/javascript" src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.2" rel="nofollow" target="_blank"&gt;http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.2&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;jsp code to trigger proxy page:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;esri.config.defaults.io.proxyUrl = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost:8080/geotoerisme/proxy.jsp" rel="nofollow" target="_blank"&gt;http://localhost:8080/geotoerisme/proxy.jsp&lt;/A&gt;&lt;SPAN&gt;";&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esri.config.defaults.io.alwaysUseProxy = true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;code in proxy page for basic authentication:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;String userpass = "testuser" + ":" + "xxxx";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;String basicAuth = "Basic " + new BASE64Encoder().encode(userpass.getBytes());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;con.setRequestProperty ("Authorization", basicAuth);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.out.println("basic: " + basicAuth);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anybody an idea?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Apr 2011 14:03:48 GMT</pubDate>
    <dc:creator>CedrikVanderhaegen</dc:creator>
    <dc:date>2011-04-13T14:03:48Z</dc:date>
    <item>
      <title>Basemap Gallery - proxy page error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-gallery-proxy-page-error/m-p/719201#M66774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I use a proxy page (for accessing http basic secured web services), I get an error when using the Basemap gallery. The initial background is displayed ok, as are the vector layers on top. I get the error when tryien to switch the basemap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Firebug report:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;error is in BasemapGallery.xd.js, line 19&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"TypeError: _32.serviceInfoResponse is undefined"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Config:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS Server 10, java edition&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;windows server 2008&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;script type="text/javascript" src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.2" rel="nofollow" target="_blank"&gt;http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.2&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;jsp code to trigger proxy page:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;esri.config.defaults.io.proxyUrl = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost:8080/geotoerisme/proxy.jsp" rel="nofollow" target="_blank"&gt;http://localhost:8080/geotoerisme/proxy.jsp&lt;/A&gt;&lt;SPAN&gt;";&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esri.config.defaults.io.alwaysUseProxy = true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;code in proxy page for basic authentication:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;String userpass = "testuser" + ":" + "xxxx";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;String basicAuth = "Basic " + new BASE64Encoder().encode(userpass.getBytes());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;con.setRequestProperty ("Authorization", basicAuth);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.out.println("basic: " + basicAuth);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anybody an idea?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 14:03:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-gallery-proxy-page-error/m-p/719201#M66774</guid>
      <dc:creator>CedrikVanderhaegen</dc:creator>
      <dc:date>2011-04-13T14:03:48Z</dc:date>
    </item>
  </channel>
</rss>

