<?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 Re: WMS layers occassionally failing, not including SRS/CRS in request in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675199#M62896</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can't see anything wrong per se with the approach you've taken.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would revisit your manual setting of properties - I had a &lt;/SPAN&gt;&lt;STRONG&gt;very&lt;/STRONG&gt;&lt;SPAN&gt; brief look through the source code of the layer class earlier and it looks like there is potential for paths through the code that could affect the srs/crs parameter, amongst other things.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We make extensive use of (many) WMS layers but we don't use the WMSLayer supplied with the API, we use a class that I developed in-house (a long time ago, well before the WMSLayer class was added to the API) so I haven't really had to delve into the workings of the ESRI class.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Oct 2012 19:26:51 GMT</pubDate>
    <dc:creator>__Rich_</dc:creator>
    <dc:date>2012-10-03T19:26:51Z</dc:date>
    <item>
      <title>WMS layers occassionally failing, not including SRS/CRS in request</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675192#M62889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;using api 3.2 &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;layer = new esri.layers.WMSLayer(lay.url); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layer.setVisibleLayers([lay.catalog]); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layer.setImageFormat("png"); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layer.spatialReference = new esri.SpatialReference({wkid:102100}); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layer.layerInfos= new esri.layers.WMSLayerInfo({name:lay.label,title:lay.label}); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layer.version= "1.1.1"; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layer.id= lay.id;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For some reason the request is failing occassionally (inconsistently) because the URL does not include the SRS/CRS (i tried 1.3.0 as well).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FAILS&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://www.mymanatee.org/lizardtech/iserv/ows?SERVICE=WMS&amp;amp;REQUEST=GetMap&amp;amp;FORMAT=image/png&amp;amp;TRANSPARENT=TRUE&amp;amp;STYLES=&amp;amp;VERSION=1.1.1&amp;amp;LAYERS=1978&amp;amp;WIDTH=1600&amp;amp;HEIGHT=791&amp;amp;BBOX=-9233714.17262806,3140877.1703132535,-9111414.927371942,3201338.8596867467" rel="nofollow" target="_blank"&gt;http://www.mymanatee.org/lizardtech/iserv/ows?SERVICE=WMS&amp;amp;REQUEST=GetMap&amp;amp;FORMAT=image/png&amp;amp;TRANSPARENT=TRUE&amp;amp;STYLES=&amp;amp;VERSION=1.1.1&amp;amp;LAYERS=1978&amp;amp;WIDTH=1600&amp;amp;HEIGHT=791&amp;amp;BBOX=-9233714.17262806,3140877.1703132535,-9111414.927371942,3201338.8596867467&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;WORKS&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://www.mymanatee.org/lizardtech/iserv/ows?SERVICE=WMS&amp;amp;REQUEST=GetMap&amp;amp;FORMAT=image/png&amp;amp;TRANSPARENT=TRUE&amp;amp;STYLES=&amp;amp;VERSION=1.1.1&amp;amp;LAYERS=1978&amp;amp;WIDTH=1600&amp;amp;HEIGHT=791&amp;amp;BBOX=-9233714.17262806,3140877.1703132535,-9111414.927371942,3201338.8596867467&amp;amp;SRS=EPSG:102100" rel="nofollow" target="_blank"&gt;http://www.mymanatee.org/lizardtech/iserv/ows?SERVICE=WMS&amp;amp;REQUEST=GetMap&amp;amp;FORMAT=image/png&amp;amp;TRANSPARENT=TRUE&amp;amp;STYLES=&amp;amp;VERSION=1.1.1&amp;amp;LAYERS=1978&amp;amp;WIDTH=1600&amp;amp;HEIGHT=791&amp;amp;BBOX=-9233714.17262806,3140877.1703132535,-9111414.927371942,3201338.8596867467&amp;amp;SRS=EPSG:102100&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;all i did was manually add the SRS at the end.&amp;nbsp; But i cannot do this in my code, since its just a navigation event requesting a new tile?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 14:20:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675192#M62889</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2012-10-02T14:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layers occassionally failing, not including SRS/CRS in request</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675193#M62890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;using api 3.2 &lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;layer = new esri.layers.WMSLayer(lay.url); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layer.setVisibleLayers([lay.catalog]); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layer.setImageFormat("png"); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layer.spatialReference = new esri.SpatialReference({wkid:102100}); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layer.layerInfos= new esri.layers.WMSLayerInfo({name:lay.label,title:lay.label}); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layer.version= "1.1.1"; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layer.id= lay.id;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;For some reason the request is failing occassionally (inconsistently) because the URL does not include the SRS/CRS (i tried 1.3.0 as well).&lt;BR /&gt;&lt;BR /&gt;FAILS&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://www.mymanatee.org/lizardtech/iserv/ows?SERVICE=WMS&amp;amp;REQUEST=GetMap&amp;amp;FORMAT=image/png&amp;amp;TRANSPARENT=TRUE&amp;amp;STYLES=&amp;amp;VERSION=1.1.1&amp;amp;LAYERS=1978&amp;amp;WIDTH=1600&amp;amp;HEIGHT=791&amp;amp;BBOX=-9233714.17262806,3140877.1703132535,-9111414.927371942,3201338.8596867467" rel="nofollow" target="_blank"&gt;http://www.mymanatee.org/lizardtech/iserv/ows?SERVICE=WMS&amp;amp;REQUEST=GetMap&amp;amp;FORMAT=image/png&amp;amp;TRANSPARENT=TRUE&amp;amp;STYLES=&amp;amp;VERSION=1.1.1&amp;amp;LAYERS=1978&amp;amp;WIDTH=1600&amp;amp;HEIGHT=791&amp;amp;BBOX=-9233714.17262806,3140877.1703132535,-9111414.927371942,3201338.8596867467&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;WORKS&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://www.mymanatee.org/lizardtech/iserv/ows?SERVICE=WMS&amp;amp;REQUEST=GetMap&amp;amp;FORMAT=image/png&amp;amp;TRANSPARENT=TRUE&amp;amp;STYLES=&amp;amp;VERSION=1.1.1&amp;amp;LAYERS=1978&amp;amp;WIDTH=1600&amp;amp;HEIGHT=791&amp;amp;BBOX=-9233714.17262806,3140877.1703132535,-9111414.927371942,3201338.8596867467&amp;amp;SRS=EPSG:102100" rel="nofollow" target="_blank"&gt;http://www.mymanatee.org/lizardtech/iserv/ows?SERVICE=WMS&amp;amp;REQUEST=GetMap&amp;amp;FORMAT=image/png&amp;amp;TRANSPARENT=TRUE&amp;amp;STYLES=&amp;amp;VERSION=1.1.1&amp;amp;LAYERS=1978&amp;amp;WIDTH=1600&amp;amp;HEIGHT=791&amp;amp;BBOX=-9233714.17262806,3140877.1703132535,-9111414.927371942,3201338.8596867467&amp;amp;SRS=EPSG:102100&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;all i did was manually add the SRS at the end.&amp;nbsp; But i cannot do this in my code, since its just a navigation event requesting a new tile?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't get this to fail:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;var wmsLayer = new esri.layers.WMSLayer("http://www.mymanatee.org/lizardtech/iserv/ows"); wmsLayer.setVisibleLayers(["1940"]); map.addLayer(wmsLayer);&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you got any hints to help it to fail?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-----&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you probably know, the WMS spec changed from 1.1.1 to 1.3.0 with regards to how the coordinate system is stated, it was srs and became crs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You shouldn't have to worry about this as the correct parameter to send should be worked out by the WMSLayer class based on the GetCapabilities response from the server and its own version compatibility.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IMO, you should not manually specify the version, leave it to the client and server to work out a mutually compatible version, assuming they're both compliant this will happen without any hints from you.&amp;nbsp; (this should result in the highest possible version being chosen)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your WMS server claims to be 1.1.1 compliant so it expects "srs".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In a GetMap request the srs/crs parameter is mandatory so if that first URI you supplied was generated by the WMSLayer then something is wrong.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 09:14:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675193#M62890</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-10-03T09:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layers occassionally failing, not including SRS/CRS in request</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675194#M62891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;its a wms layer call&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i did the manual layer definition when there where wms errors around 2.8/3.0 .&amp;nbsp; I will try the other way.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 11:51:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675194#M62891</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2012-10-03T11:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layers occassionally failing, not including SRS/CRS in request</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675195#M62892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;its a wms layer call&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Oh dear.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;i did the manual layer definition when there where wms errors around 2.8/3.0 .&amp;nbsp; I will try the other way.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Fingers crossed for you...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Oh and as part of my messing around, I wrote some (dodgy) code to automatically add ALL the layers from the service to the map as individual layers (originally it set all the service layers visible in the single layer but it was taking toooo loooong to generate the composite image i.e. some layers are slower than others) you probably have no use for this but...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
var wmsLayer = new esri.layers.WMSLayer("http://www.mymanatee.org/lizardtech/iserv/ows");
dojo.connect(wmsLayer, "onLoad", function (lyr) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(lyr.layerInfos, function (info) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (info.name){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addLayer(new esri.layers.WMSLayer(
&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; lyr.url,
&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;&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; visibleLayers: [info.name],
&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;&amp;nbsp; //Providing resourceInfo prevents an unnecessary GetCapabilities request
&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;&amp;nbsp; resourceInfo:
&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; extent: lyr.extent,
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layerInfos: lyr.layerInfos,
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; version:lyr.version
&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;&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;&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;&amp;nbsp; });
});
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;^ Just for fun, seems a shame just to bin it! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:28:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675195#M62892</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2021-12-12T04:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layers occassionally failing, not including SRS/CRS in request</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675196#M62893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;failing seems really random.&amp;nbsp; It is usually connect to one wms, switch to another and it fails.&amp;nbsp; i copied the failing uri out of firebug so I am sure that was the request being made.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if i can get a reproducible case i will follow up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i saw this comment in your code&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;//Providing resourceInfo prevents an unnecessary GetCapabilities request&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;can you elaborate?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 15:54:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675196#M62893</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2012-10-03T15:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layers occassionally failing, not including SRS/CRS in request</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675197#M62894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;It is usually connect to one wms, switch to another and it fails.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;What do you mean "switch"?&amp;nbsp; e.g. do you re-point an existing layer to a different service or something?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;i copied the failing uri out of firebug so I am sure that was the request being made.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't doubt it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;i saw this comment in your code&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;//Providing resourceInfo prevents an unnecessary GetCapabilities request&lt;/PRE&gt;&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;can you elaborate?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/wmslayer.htm"&gt;documentation&lt;/A&gt;&lt;SPAN&gt; says:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If resourceInfo is specified a GetCapabilities request is not executed&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Since I've already fetched all the resource information for the service once and all the additional layers that I'm instantiating are utilising that service, I don't need to do it again, - just a little efficiency.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 18:42:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675197#M62894</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-10-03T18:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layers occassionally failing, not including SRS/CRS in request</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675198#M62895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Maybe it is how i am treating my WMS layers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My application loops through a config file where i have about 12-40 "layers" listed.&amp;nbsp; They vary in type as tiled, dynamic, and wms.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Each one is added in a loop (addLayer) not (addLayers)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so i add 8 wms layers, all from the same WMS server.&amp;nbsp; Each time using (bas pseudo code)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;layer = new WMS layer &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layer.setVisibleLayers([layername])&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.addLayer(layer)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so now I have a map with at least 8 WMS layers in it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Switching from on (year 2011) to another (1973) is what is occassionally causing the failed request&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;toggling in my app is a show/hide type event, although layers are also occassionally removed and added back in (same id)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 18:54:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675198#M62895</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2012-10-03T18:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layers occassionally failing, not including SRS/CRS in request</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675199#M62896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can't see anything wrong per se with the approach you've taken.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would revisit your manual setting of properties - I had a &lt;/SPAN&gt;&lt;STRONG&gt;very&lt;/STRONG&gt;&lt;SPAN&gt; brief look through the source code of the layer class earlier and it looks like there is potential for paths through the code that could affect the srs/crs parameter, amongst other things.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We make extensive use of (many) WMS layers but we don't use the WMSLayer supplied with the API, we use a class that I developed in-house (a long time ago, well before the WMSLayer class was added to the API) so I haven't really had to delve into the workings of the ESRI class.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 19:26:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675199#M62896</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-10-03T19:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layers occassionally failing, not including SRS/CRS in request</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675200#M62897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I unset alot of properties, not only does it seem to help, but it seems to have sped it up?!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;would you be willing to share your class? In particular i am looking to try to make tiled requests of the WMS service.&amp;nbsp; I have been told express server (lizardtech) supports this if the request is made properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks again for all the help and guidance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 19:54:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675200#M62897</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2012-10-03T19:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layers occassionally failing, not including SRS/CRS in request</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675201#M62898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I unset alot of properties, not only does it seem to help, but it seems to have sped it up?!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;That sounds like good news &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;would you be willing to share your class?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Can't do that I'm afraid, whilst the design/implementation was/is solely mine, the IPR isn't.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;In particular i am looking to try to make tiled requests of the WMS service.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Doesn't the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/wmtslayer.htm"&gt;WMTSLayer&lt;/A&gt;&lt;SPAN&gt; class cover this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have been told express server (lizardtech) supports this if the request is made properly.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm aware of the standard, but I'm not familiar with that product...what do you mean "properly"?&amp;nbsp; (or is this the answer my previous question?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;thanks again for all the help and guidance!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;You're welcome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; (but I'll be happier when it's working the way you want it to!)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 20:06:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675201#M62898</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-10-03T20:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layers occassionally failing, not including SRS/CRS in request</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675202#M62899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How did you get on, Jeff?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2012 07:41:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675202#M62899</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-10-08T07:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layers occassionally failing, not including SRS/CRS in request</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675203#M62900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;it seems like unsetting those manual settings has helped alot, i have not seen the error since.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2012 12:12:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675203#M62900</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2012-10-08T12:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layers occassionally failing, not including SRS/CRS in request</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675204#M62901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good stuff! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2012 13:59:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675204#M62901</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-10-08T13:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layers occassionally failing, not including SRS/CRS in request</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675205#M62902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jef,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you already test the use of WMS in API version 3.3. I have an application that loads WMS layers and until the API version 3.2 it works fine. Moving to API version 3.3 suddenly I had SRS/CRS missing in the getmap request as you stated earlier.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I dynamically load layers. Until now I did not had a response from ESRI.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Johnny&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 19:17:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675205#M62902</guid>
      <dc:creator>JohnnyPenet</dc:creator>
      <dc:date>2013-01-16T19:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layers occassionally failing, not including SRS/CRS in request</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675206#M62903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No we have not migrated yet, but I have not noticed anything in our dev environment.&amp;nbsp; I will keep an eye out for it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 19:37:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layers-occassionally-failing-not-including-srs/m-p/675206#M62903</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2013-01-16T19:37:53Z</dc:date>
    </item>
  </channel>
</rss>

