Cannot view my app outside the local intranet

2530
13
11-17-2010 11:55 AM
JoshuaCoates
New Contributor
Can anyone explain why it is that I cannot view my application outside of the local intranet? I have some flex apps that are setup on a local public server with several apps on it. All of the .NET apps can be viewed outside the intranet and the data all appears fine. When I try going to one of the Flex apps from outside the intranet, I am able to see the UI and all of the widgets open fine, however, none of the map and data are displayed?! Does anyone know why this is?

Also, if anyone can look at my other post "Problem deploying Flexviewer app" I could really use some input on this as well. I can not figure out why my app appears sometimes and other times....it is just a white screen and I have to hit refresh a lot of times and then it will randomly sometimes work?!

Thanks for any input anyone can give, I would really appreciate it!

Josh C.
Tags (2)
0 Kudos
13 Replies
LukePecoraro
New Contributor
A few additional details regarding my question in the post above:

Web server: imsweb
ArcGIS Server : gissoc

Outside link to my site:
http://gis.co.cal.md.us/flexviewer_benson/

my crossdomain.xml placed in the wwwroot folder on gissoc
[HTML]<?xml version="1.0" ?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" />
<site-control permitted-cross-domain-policies="all" />
<allow-http-request-headers-from domain="*" headers="*" />
</cross-domain-policy>[/HTML]

The first part of my config file on imsweb:
[HTML]<configuration>
    <title>Calvert County Department Of Technology Services</title>
    <subtitle>Test Flex Application- Eric Benson</subtitle>
    <logo>assets/images/SEAL.gif</logo>
    <stylecolors>0xCEE7F4,0x39628C,0x355D89,0x294867,0xCEE7F4,0xFFFFED</stylecolors>
    <!-- stylecolors>0xCEE7F4,0x39628C,0x355D89,0x294867,0xCEE7F4,0xAFCFAF</stylecolors -->
    <stylealpha>0.8</stylealpha>

    <!-- UI elements -->
    <widget left="10"  top="50"    config="widgets/Navigation/NavigationWidget.xml" url="widgets/Navigation/NavigationWidget.swf"/>
    <widget right="-2" bottom="-2" config="widgets/OverviewMap/OverviewMapWidget.xml" url="widgets/OverviewMap/OverviewMapWidget.swf"/>
    <widget right="20" top="55"    config="widgets/MapSwitcher/MapSwitcherWidget.xml" url="widgets/MapSwitcher/MapSwitcherWidget.swf"/>
    <widget left="0"   top="0"     config="widgets/HeaderController/HeaderControllerWidget.xml" url="widgets/HeaderController/HeaderControllerWidget.swf"/>
    <widget left="10"  bottom="60" config = "widgets/Coordinate/CoordinateWidget.xml" url="widgets/Coordinate/CoordinateWidget.swf" />

    <map initialextent="" top="40">
        <basemaps>
             <layer label="Streets" type="tiled" visible="true"  alpha="1"
                        url="http://ccg-gissoc/ArcGIS/rest/services/BaseMapTest/MapServer" />
           
        
        </basemaps>
        <operationallayers>
           
    
        </operationallayers>
    </map>[/HTML]
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Eric,

   Your issue is the same stated above you are not using fully qualified domain names for your map services

http://ccg-gissoc/ArcGIS/rest/services/BaseMapTest/MapServer

ccg-gisoc in the outside world (outside your domain) means very little. I would talk to your IT people and see what your fully qualified domain name is something like www.ccs-gisoc.com or something. If you are the IT people and still don't know this then 😞 you can find your full address using a reverse IP lookup and your IP address. Just google reverse IP lookup.
0 Kudos
LukePecoraro
New Contributor
But my ArcGIS Server is an internal server, locked down and not open to the outside.  There is no full address for this server.  I thought this was why a crossdomain file is needed.  How are my ArcGIS Server built maps, which are hosted on the web server, hitting my rest services?  Are they using a proxy?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Eric,

   You need to setup a reverse proxy server then.

http://resources.arcgis.com/content/kbase?fa=articleShow&d=32634

How are my ArcGIS Server built maps, which are hosted on the web server, hitting my rest services? Are they using a proxy?


They aren't they are using the SOAP endPoint, different completely.
0 Kudos