<?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 Re: silverlight and http https cross-scheme calls in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-and-http-https-cross-scheme-calls/m-p/82660#M1990</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you ever find a solution to this?&amp;nbsp; Discouraging that no one from ESRI has replied.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Dec 2010 13:19:09 GMT</pubDate>
    <dc:creator>LanceCrumbliss</dc:creator>
    <dc:date>2010-12-01T13:19:09Z</dc:date>
    <item>
      <title>silverlight and http https cross-scheme calls</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-and-http-https-cross-scheme-calls/m-p/82659#M1989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This one's a doozy:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a Silverlight mapping app that we�??re trying to deploy on a web server as an external facing website secured with https.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Our ArcGIS server box is also set to use https scheme, and we make also calls to ArcGIS services to use the tiles via the https site.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem arises with our legend, and the custom GetLegend service we�??ve built.&amp;nbsp; This service uses the soap api�??s getlegendinfo functionality to return json.&amp;nbsp; One of the json properties is the url to where the images for the layers are stored.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the call to our getlegend service, which passes the soap url as a parameter:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://OURARCGISSERVER/services.esri.rest/services/Mapservice.svc/GetLegend?mapServiceUrl=https://OURARCGGISSERVER/ArcGIS/services/MyFolder/Storms/MapServer&amp;amp;layerFilter=0,1,2,3&amp;amp;resourceName=xxx&amp;amp;resourceType=0"&gt;https://OURARCGISSERVER/services.esri.rest/services/Mapservice.svc/GetLegend?mapServiceUrl=https://OURARCGGISSERVER/ArcGIS/services/MyFolder/Storms/MapServer&amp;amp;layerFilter=0,1,2,3&amp;amp;resourceName=xxx&amp;amp;resourceType=0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this is a sample of the Json returned:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[{"LayerId":0,"LayerName":"best objective track points","Legend":[{"Label":"Forecasted","Url":"http:\/\/OURARCGISSERVER \/arcgisoutput\/_ags_leg6e267d44bf7e474ba4c458f2fb3fc411.jpg"}.......&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When the user opens the legend in our Silverlight app, they don�??t see the&amp;nbsp; legend images because the call to the image is http, and Silverlight doesn�??t allow cross-scheme (http-https) calls involving images.&amp;nbsp; They do see text based labels and titles such as �??Forecasted�?� because cross-scheme calls will happily pass through text.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The question is, how can we set things up so our images show up in our legend?&amp;nbsp; The call needs to be https to https for images to come through.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Where in the config files do we set it so that our getlegendinfo will return a url that points to https and also uses the DNS (externally visible) name of our ArcGIS server box?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks very much, I know this is a tough one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Oct 2010 12:45:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-and-http-https-cross-scheme-calls/m-p/82659#M1989</guid>
      <dc:creator>MichaelBlom</dc:creator>
      <dc:date>2010-10-14T12:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: silverlight and http https cross-scheme calls</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-and-http-https-cross-scheme-calls/m-p/82660#M1990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you ever find a solution to this?&amp;nbsp; Discouraging that no one from ESRI has replied.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Dec 2010 13:19:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-and-http-https-cross-scheme-calls/m-p/82660#M1990</guid>
      <dc:creator>LanceCrumbliss</dc:creator>
      <dc:date>2010-12-01T13:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: silverlight and http https cross-scheme calls</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-and-http-https-cross-scheme-calls/m-p/82661#M1991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I probably missed something but if you wrote your own legend service, why this service is not returning &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[{"LayerId":0,"LayerName":"best objective track points","Legend":[{"Label":"Forecasted","Url":"http&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt;s&lt;/SPAN&gt;&lt;SPAN&gt;:\/\/OURARCGISSERVER \/arcgisoutput\/_ags_leg6e267d44bf7e474ba4c458f2fb3fc411.jpg"}.... ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;instead of&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[{"LayerId":0,"LayerName":"best objective track points","Legend":[{"Label":"Forecasted","Url":"http:\/\/OURARCGISSERVER \/arcgisoutput\/_ags_leg6e267d44bf7e474ba4c458f2fb3fc411.jpg"}.... ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are using the arcgis.com legend service, you can add the parameter 'returnbytes=true', so the image will be returned as imageData instead of an URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Example : &lt;/SPAN&gt;&lt;A href="http://www.arcgis.com/sharing/tools/legend?soapUrl=http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StateCityHighway_USA/MapServer&amp;amp;f=pjson&amp;amp;returnbytes=true"&gt;http://www.arcgis.com/sharing/tools/legend?soapUrl=http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StateCityHighway_USA/MapServer&amp;amp;f=pjson&amp;amp;returnbytes=true&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then there is no more cross scheme issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Dec 2010 16:04:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-and-http-https-cross-scheme-calls/m-p/82661#M1991</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2010-12-01T16:04:13Z</dc:date>
    </item>
  </channel>
</rss>

