Hoppa till huvudinnehållet

Consume unsecured map service in secured Site/Viewer

Kommentarer

3 kommentarer

  • Berend Veldkamp
    In general, a browser will block all http content on a page that is served over https itself. If the services you want to use are really only available over http, you should configure a proxy page on the Mapservice Connection Settings Page. You can use the proxy script that comes with the HTML viewer (./proxy.aspx). Don't forget to allow the mapservice URL in the proxy.config file.
    0
  • Permanently deleted user
    Thank you, I will try that.
    0
  • Permanently deleted user
    • So I found the proxy.config file and add my map service connections following the syntax in the file. 
    • Then I saved the file and recycled the Essentials app pools
    • Next I went into Rest Manager and edited the connection settings so it used the proxy page. I pointed to the location of the proxy.ashx file for the proxy page (this part was very unclear and the help documentation was pretty minimal). 
    This did the trick. Thanks again for your help, writing this out here in my own way if it will help others. Much appreciated!
    0

Du måste logga in om du vill lämna en kommentar.