Select to view content in your preferred language

Image Service not displaying for external https app

705
3
02-07-2011 08:35 PM
ElliottCarson
Occasional Contributor
Hi,

I've created a simple sl app that is intended to show a map service and image service externally through a https site.

Viewing the site externally only the map service is viewable with the image service not appearing. However the image service is working to some degree as the images are been created and placed in the "arcgisoutputext" folder, and no image initialization failure is thrown.

Anyone have any ideas regrading this issue?

Thanks in advance,
Elliott
0 Kudos
3 Replies
DanielWalton
Frequent Contributor
First, I would validate that your image service can work in Silverlight under http. Also read this blog about cross-scheme access in case your Silverlight app is hosted under http (and your service https):

http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2009/08/31/Using-services-across-schemes.aspx
0 Kudos
ElliottCarson
Occasional Contributor
We can only view the silverlight externally through https.

Although internally the silverlight can be view on http for both map and image service (this is using the internal reference to the machine name) however when viewing it as a https internally only the map service is viewable.

Below is the client access policy

<?xml version="1.0" encoding="utf-8" ?>
- <access-policy>
- <cross-domain-access>
- <policy>
- <allow-from http-request-headers="*">
  <domain uri="*" />
  <domain uri="http://*" />
  <domain uri="https://*" />
  </allow-from>
- <grant-to>
  <resource include-subpaths="true" path="/" />
  </grant-to>
  </policy>
  </cross-domain-access>
  </access-policy>

Regards,
Elliott
0 Kudos
ElliottCarson
Occasional Contributor
Problem solved.

The image service output directory was pointing to the internal folder rather than the external folder.

Whilst the map service was pointing to the correct folder and therefore displaying correctly.
0 Kudos