Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

These days i am trying to develop web map using FOSS software. I have a WMS in GeoServer but it does not view in ArcGIS Viewer for Flex.

Can you give me XML code for it?

This is my WMS.


And is it required crossdomain xml? If yes, how to do it?

share|improve this question

Here is an example of a WMS from my config file...

<layer label="NWS RADAR" type="wms" autorefresh="66" skipgetcapabilities="true" url="" version="1.1.1" visible="false" visiblelayers="nexrad-n0q-900913" alpha=".5"/>

That is a RADAR layer I'm getting from the University of Iowa. Here is one of my own...

<layer label="COUNTY BOUNDARY" wkid="3857" type="wms" skipgetcapabilities="true" url="" version="1.3.0" visible="true" visiblelayers="COUNTY"/>

My layer is in lat-lon, so I added the [wkid="3857"] entry to request the correct projection.

If you have the [skipgetcapabilities="true"] entry, then it doesn't need a cross-site script.

share|improve this answer

You should check that the spatial references (aka wkid's) of the ESRI Flex Map and the WMS are the same. If not, then check that the WMS supports the spatial reference of the ESRI Flex Map.

I believe that the ESRI Flex Map inherits the spatial reference of the first layer added. And if your WMS does not support that spatial reference, the WMS layer will never work.

You could try using Firebug/Fiddler/or any other HTTP monitor to see what is getting sent to/from the Viewer. I believe errors in the WMS Layer class are swallowed silently (i.e. no message displayed to the user).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.