Select to view content in your preferred language

WMS

646
3
09-15-2010 12:10 PM
BobbySells
Emerging Contributor
I am adding the following wms to my flex site:
<mapservice label="Nexrad Storm Totals" type="wms" visible="true" alpha="0.6" servicename="LatestVisibleSatellite" format="image/png" layer="4" crs="EPSG:4326">http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/ntp.cgi? </mapservice> and with togglefox i see that i am getting the following error:
msWMSLoadGetMapParams(): WMS server error. Invalid layer(s) given in the LAYERS parameter.

can anyone help me understand as there are several WMS services i would like to bring in.
Tags (2)
0 Kudos
3 Replies
BjornSvensson
Esri Regular Contributor
<mapservice label="Nexrad Storm Totals" type="wms" ...


The Flex Viewer does not support the "wms" type at this point.

As a flex developer, it is possible to extend the viewer to support it, but it's not out-of-the-box.
0 Kudos
BobbySells
Emerging Contributor
I have added all of the code required to the mapmanager, etc. it is throwing the error on the request to the wms server. do i have to configure a connection file for each connection to answer all of the variables in the service .xml file?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Bobby,

  Try using "nexrad_1hour_precip"
0 Kudos