WMS Layer in Flex Viewer

4039
25
Jump to solution
07-11-2012 07:17 AM
ZahidChaudhry
Occasional Contributor III
I am trying to access "nowCOAST 'obs' WMS" (only temperature) in viewer but with no luck. Any help will be highly appreciated (THANKS NOAA in Advanced for still using OLD OLD OLD stuff and not using ArcGIS Server....and much more....)

Here is the URL

http://www.arcgis.com/home/item.html?id=862ea07f603e4a52a4eff50899451176

T
hanks
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
DasaPaddock
Esri Regular Contributor
Try:
<layer label="nowCOAST 'obs' WMS" type="wms" visible="true" alpha="1" version="1.1.1" skipgetcapabilities="true" imageformat="png" url="http://nowcoast.noaa.gov:80/wms/com.esri.wms.Esrimap/obs?" wkid="3857" visiblelayers="OBS_MET_TEMP"/>

This is copied from the config shown in this helper after entering the WebMap id:
http://resources.arcgis.com/en/help/flex-viewer/helpers/FlexViewer_WebMapHelper.html

View solution in original post

0 Kudos
25 Replies
DasaPaddock
Esri Regular Contributor
Try:
<layer label="nowCOAST 'obs' WMS" type="wms" visible="true" alpha="1" version="1.1.1" skipgetcapabilities="true" imageformat="png" url="http://nowcoast.noaa.gov:80/wms/com.esri.wms.Esrimap/obs?" wkid="3857" visiblelayers="OBS_MET_TEMP"/>

This is copied from the config shown in this helper after entering the WebMap id:
http://resources.arcgis.com/en/help/flex-viewer/helpers/FlexViewer_WebMapHelper.html
0 Kudos
BjornSvensson
Esri Regular Contributor
Another easy way to figure this out is to use the application builder, select the Web Map you want, then click "Switch to Basemaps & Operational Layers", click "Save".  The config.xml file will now have the layer tag for you.
0 Kudos
DavidCaussin
New Contributor III
Hi,

I try to do the same with "http://www.brugis.irisnet.be/brugiswms/request.aspx" in the application builder with no luck 😞

the URL is correct and give me the result in ArcMap . I dont understand.

Thanks
0 Kudos
DasaPaddock
Esri Regular Contributor
Try:

            <layer label="BruGIS WMS - Geomedia" type="wms" visible="true"
                url="http://www.brugis.irisnet.be/brugiswms/request.aspx"
                wkid="3857" visiblelayers="Limites_communales"/>
0 Kudos
DavidCaussin
New Contributor III
Thanks for the response but it don't resolve the problem 😞
0 Kudos
DasaPaddock
Esri Regular Contributor
The above worked for me with a web mercator base map. Can you post the contents of your whole config.xml file?
0 Kudos
DavidCaussin
New Contributor III
you was right with a web mercator base map it is ok.

I'had only to change the WKID to run it with my map.

Thanks a lot.
0 Kudos
FrankRoberts
Occasional Contributor III
I'm having a WMS service that I can't seem to get to render in the FlexViewer 2.5.

I'm using the following in  my config file:

<layer label="Surface Sea Water Velocity" type="wms" visible="true" 
                   visiblelayers="surface_sea_water_velocity"
               imageFormat="png32"
               alpha="0.6"
               skipgetcapabilities="true"
                   url="http://hfrnet.ucsd.edu/thredds/wms/HFRNet/USWC/6km/hourly/RTV?service=WMS&srs=EPSG:4326"/>


The Viewer seems to load just fine, but nothing ever draws from the WMS.  I'm not sure if I'm reading my Charles output correctly but, it seems like there might be a missing crossdomain.xml file on the hfrnet server.  Would someone mind looking at this and letting me know if I missed something?

Thanks!
0 Kudos
DasaPaddock
Esri Regular Contributor
The server doesn't need a crossdomain.xml file when skipgetcapabilities is set to true.

What is your map's spatial reference? Usually this would be the SR of the first base layer.
0 Kudos