<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic WMS layer in flex viewer 2.5 in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/wms-layer-in-flex-viewer-2-5/m-p/474131#M13362</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I try to connect to WMS &lt;/SPAN&gt;&lt;A href="http://cartorisque.prim.net/wms/67?"&gt;http://cartorisque.prim.net/wms/67?&lt;/A&gt;&lt;SPAN&gt; in flex viewer 2.5. Here is the code in config.xml file :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;layer label = "Cartorisque WMS 67" type = "wms" visible = "false" alpha = "1" wkid = "2154" skipgetcapabilities = "true" visiblelayers = "ALEA_INONDATION_SYNTHESE,ALEA_SEISME_SYNTHESE" version = "1.3.0"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;url = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://cartorisque.prim.net/wms/67" rel="nofollow" target="_blank"&gt;http://cartorisque.prim.net/wms/67&lt;/A&gt;&lt;SPAN&gt;?"&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/ layer&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The projection of my Basemaps are EPSG:3948, but the WMS server only supports EPSG:2154.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;But it does not work&lt;/STRONG&gt;&lt;SPAN&gt;. I get an crossdomain.xml error on the WMS server (seen in Fiddler). I thought the argument skipgetcapabilities = "true" allowed around it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sasha Weber&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Dec 2012 14:12:09 GMT</pubDate>
    <dc:creator>MickaelVADIN</dc:creator>
    <dc:date>2012-12-07T14:12:09Z</dc:date>
    <item>
      <title>WMS layer in flex viewer 2.5</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/wms-layer-in-flex-viewer-2-5/m-p/474131#M13362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I try to connect to WMS &lt;/SPAN&gt;&lt;A href="http://cartorisque.prim.net/wms/67?"&gt;http://cartorisque.prim.net/wms/67?&lt;/A&gt;&lt;SPAN&gt; in flex viewer 2.5. Here is the code in config.xml file :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;layer label = "Cartorisque WMS 67" type = "wms" visible = "false" alpha = "1" wkid = "2154" skipgetcapabilities = "true" visiblelayers = "ALEA_INONDATION_SYNTHESE,ALEA_SEISME_SYNTHESE" version = "1.3.0"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;url = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://cartorisque.prim.net/wms/67" rel="nofollow" target="_blank"&gt;http://cartorisque.prim.net/wms/67&lt;/A&gt;&lt;SPAN&gt;?"&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/ layer&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The projection of my Basemaps are EPSG:3948, but the WMS server only supports EPSG:2154.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;But it does not work&lt;/STRONG&gt;&lt;SPAN&gt;. I get an crossdomain.xml error on the WMS server (seen in Fiddler). I thought the argument skipgetcapabilities = "true" allowed around it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sasha Weber&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 14:12:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/wms-layer-in-flex-viewer-2-5/m-p/474131#M13362</guid>
      <dc:creator>MickaelVADIN</dc:creator>
      <dc:date>2012-12-07T14:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layer in flex viewer 2.5</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/wms-layer-in-flex-viewer-2-5/m-p/474132#M13363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sasha,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; The WMS Service has:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Supported SRS:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;EPSG:2154, EPSG:4326, EPSG:27582&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And you map is in EPSG:3948 then this layer is not going to work for you as WMS service do not get reprojected to your maps WKID. You would have to move your map into one of the WMS supported SRSs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can get the WMS to show up fine when I put the Maps WKID in 4326 (one of the WMS layers supported SRS).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;map wraparound180="true" initialextent="-5.524470 41.275700 10.699800 51.090200" top="40" addarcgisbasemaps="false"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;basemaps&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color:#ff0000;"&gt;&amp;lt;layer label="Streets" type="tiled" visible="true"
&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer" rel="nofollow noopener noreferrer" target="_blank"&gt;http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer&lt;/A&gt;&lt;SPAN&gt;"/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/basemaps&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;operationallayers&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color:#ff0000;"&gt; &amp;lt;layer label="Cartorisque WMS 67" type="wms" visible="false" alpha="1"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; skipgetcapabilities="true" &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 3;"&gt;version="1.1.0"&lt;/SPAN&gt;&lt;SPAN style="color:#ff0000;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; visiblelayers="ALEA_SEISME_SYNTHESE,ALEA_SEISME_SYNTHESE" 
&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://cartorisque.prim.net/wms/67" rel="nofollow noopener noreferrer" target="_blank"&gt;http://cartorisque.prim.net/wms/67&lt;/A&gt;&lt;SPAN&gt;?" /&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/operationallayers&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/map&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:57:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/wms-layer-in-flex-viewer-2-5/m-p/474132#M13363</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T20:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layer in flex viewer 2.5</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/wms-layer-in-flex-viewer-2-5/m-p/474133#M13364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your response. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This actually works when I reproject my layers in a projection supported by the WMS (with attribute 'wkid' in Map tag)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Two questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- I have cached Basemaps in EPSG: 3948 (non supported by WMS server). How can I ask to Arcgis server to reproject the tiles in EPSG: 2154 supported by WMS server ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- I visualize WMS layers, but I dont access details of the layers in the widget LayerList. The user is therefore not possible to show or disable layers. I think this is the argument skipgetcapabilities = "true". How to get around this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sacha&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2012 08:20:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/wms-layer-in-flex-viewer-2-5/m-p/474133#M13364</guid>
      <dc:creator>MickaelVADIN</dc:creator>
      <dc:date>2012-12-10T08:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layer in flex viewer 2.5</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/wms-layer-in-flex-viewer-2-5/m-p/474134#M13365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sacha,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;- I have cached Basemaps in EPSG: 3948 (non supported by WMS server).&amp;nbsp; How can I ask to Arcgis server to reproject the tiles in EPSG: 2154&amp;nbsp; supported by WMS server ?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt; Cached map services can not be reprojected. The whole point in cached/tiled map services is that it builds thousands of images that make up the map at different scales. Raster reprojection is very slow and that is why you are not given the option.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;- I visualize WMS layers, but I dont access details of the layers in the&amp;nbsp; widget LayerList. The user is therefore not possible to show or disable&amp;nbsp; layers. I think this is the argument skipgetcapabilities = "true". How&amp;nbsp; to get around this?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Your WMS layer should definitely appear in the layer list widget (the main WMS layer). The sub layer in the WMS layer will not though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Don't forget to click the Mark&lt;/STRONG&gt;&lt;SPAN&gt; as answer check on this &lt;/SPAN&gt;&lt;STRONG&gt;post and to click the top arrow&lt;/STRONG&gt;&lt;SPAN&gt; (promote).&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Follow these steps&lt;/STRONG&gt;&lt;SPAN&gt; as shown in the below graphic:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer3.0/Answer.jpg" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2012 11:12:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/wms-layer-in-flex-viewer-2-5/m-p/474134#M13365</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-12-10T11:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layer in flex viewer 2.5</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/wms-layer-in-flex-viewer-2-5/m-p/474135#M13366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for posting in Flex Viewer section, but I noticed this thread was still unanswered so i figured i'd give you a second chance to get the points you deserve from it!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using Tom Hills TOC from ArcScripts that was written for Flex API, which the Flex Viewer Layer List widget seems to be based on. I am looking to adapt my TOC to show WMS sublayers in a tree similar to the way dynamic layers appear. I am wondering if you know why this is not supported in Flex Viewer, and if its worth me attempting, or if its simply not possible due to wms functionality. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2013 16:43:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/wms-layer-in-flex-viewer-2-5/m-p/474135#M13366</guid>
      <dc:creator>MattGiles</dc:creator>
      <dc:date>2013-04-22T16:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layer in flex viewer 2.5</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/wms-layer-in-flex-viewer-2-5/m-p/474136#M13367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Matt,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Yes the LayerList widget did start off way back when using the toc component from Tom Hill, but it is has been altered quite a bit. I don't use WMS at all on my end so I can not give much guidence to you on them (besides the basics of how to add them to the viewer).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2013 17:19:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/wms-layer-in-flex-viewer-2-5/m-p/474136#M13367</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-04-22T17:19:37Z</dc:date>
    </item>
  </channel>
</rss>

