Select to view content in your preferred language

WMS Service - Views fine in ArcGIS Viewer but not in ArcGIS Explorer

642
5
11-14-2011 05:36 AM
KristenJones1
Occasional Contributor
Iv'e scoured the forums and have found similar problems all related to having the Clientaccesspolicy.xml and the crossdomain.xml in the Inetpub/wwwroot which I have done, however I can not get our WMS layer to work in ArcGIS Explorer

not sure what someone here would need to help check our service, but the WebAccess link on the ArcGIS server 10 is:
http://map.miamiconservancy.org/ArcGIS/services/MCDFloodProtection/MapServer/WMSServer

Thanks
Jason
Tags (2)
0 Kudos
5 Replies
MikeMinami
Esri Notable Contributor
Your WMS service doesn't display for me in the Map Viewer. The URL to the service appears to be an internal URL. This is probably why Explorer Online can't view the WMS service. Your web browser is inside your firewall and able to resolve the URL for the Map Viewer. Explorer Online is a silverlight plugin and requires all services be accessible from the open web. Your WMS doesn't appear to be.

Is it a viable alternative to add the REST endpoint of the service instead of the WMS endpoint? This URL will work when added as an ArcGIS Server service.

http://map.miamiconservancy.org/ArcGIS/rest/services/MCDFloodProtection/MapServer

To see the problem with your WMS service, check out the capabilities file for it:

http://map.miamiconservancy.org/ArcGIS/services/MCDFloodProtection/MapServer/WMSServer?SERVICE=WMS&R...

Notice that the URL for GetMap is:
<Get>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://mcdvgis/ArcGIS/services/MCDFloodProtection/MapServer/WMSServer"/>
</Get>


'mcdvgis' appears to be an internal server name.

Hope this helps,

Mike
0 Kudos
KristenJones1
Occasional Contributor
Thanks Mike, it does help a little, however after correcting the GetCap server name/URL  issue, WMS still not working
0 Kudos
MikeMinami
Esri Notable Contributor
I can see your WMS service in both arcgis.com and arcgis explorer online now. Try clearing your browser cache. What browser are you using?

thanks,

Mike
0 Kudos
KristenJones1
Occasional Contributor
Odd.. Chrome is what I use in the office, but after you said that I tried Firefox and still not showing.  But then discovered something..  I go to my content page in ArcGis.com, go to my WMS layer, from that details page I click the "Open" drop down and select Explorer from there and no go every time.  If however I open a blank GIS Explorer window and then ADD the WMS from the Add content, it works.  ??? baffled
0 Kudos
MikeMinami
Esri Notable Contributor
You'll need to remove that item and add it again, then it should work. We store information about the service so we don't have to get the capabilities every time and can directly request an image. However, since the URL to GetMap was wrong, that's why it doesn't work.

Thanks,

Mike
0 Kudos