<?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 Layer - invalid GetCapabilities response in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layer-invalid-getcapabilities-response/m-p/1207751#M78503</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/613906"&gt;@RobertSandu&lt;/a&gt;&amp;nbsp;- you need to set the spatialReference on your layer and the MapView (not the map). &lt;A href="https://codepen.io/annefitz/pen/MWVNBmw" target="_blank"&gt;https://codepen.io/annefitz/pen/MWVNBmw&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Now the layer is fetching data after the GetCapabilities request, but I still get a white screen. Is this expected? The GetMap requests return white for me, for example:&amp;nbsp;&lt;A href="https://api.emapsite.com/dataservicenoauth.svc/api/wms/xais?width=1228&amp;amp;height=395&amp;amp;bbox=-29464551.406024616%2C-15133359.454438109%2C30264551.406024616%2C4079177.687874141&amp;amp;srs=EPSG%3A27700&amp;amp;format=image%2Fpng&amp;amp;request=GetMap&amp;amp;service=WMS&amp;amp;styles=&amp;amp;transparent=TRUE&amp;amp;version=1.1.1&amp;amp;layers=OS%20MasterMap%20Topo%20Schema9%20NoText_Greyscale&amp;amp;_ts=1661874295354" target="_blank"&gt;https://api.emapsite.com/dataservicenoauth.svc/api/wms/xais?width=1228&amp;amp;height=395&amp;amp;bbox=-29464551.406024616%2C-15133359.454438109%2C30264551.406024616%2C4079177.687874141&amp;amp;srs=EPSG%3A27700&amp;amp;format=image%2Fpng&amp;amp;request=GetMap&amp;amp;service=WMS&amp;amp;styles=&amp;amp;transparent=TRUE&amp;amp;version=1.1.1&amp;amp;layers=OS%20MasterMap%20Topo%20Schema9%20NoText_Greyscale&amp;amp;_ts=1661874295354&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Aug 2022 15:46:55 GMT</pubDate>
    <dc:creator>AnneFitz</dc:creator>
    <dc:date>2022-08-30T15:46:55Z</dc:date>
    <item>
      <title>WMS Layer - invalid GetCapabilities response</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layer-invalid-getcapabilities-response/m-p/1207560#M78491</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are trying to add a WMS layer in ArcGIS but somehow, for one of our providers, the GetCapabilities response seems to be invalid because ArcGIS is not fetching data from it after the GetCapabilities request.&lt;/P&gt;&lt;P&gt;We've tested the code with three other WMS providers and the data loads fine, just the one from&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;A href="https://api.emapsite.com/dataservicenoauth.svc/api/wms/xais?SERVICE=WMS&amp;amp;REQUEST=GetCapabilities" target="_blank" rel="noopener"&gt;https://api.emapsite.com/dataservicenoauth.svc/api/wms/xais?SERVICE=WMS&amp;amp;REQUEST=GetCapabilities&lt;/A&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;seems to return invalid data.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;I've created a code pen here&amp;nbsp;&lt;A href="https://codepen.io/rsandu/pen/oNqRvqo" target="_blank" rel="noopener"&gt;https://codepen.io/rsandu/pen/oNqRvqo&lt;/A&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;and also a code pen that tests that the code works as expected with another provider in here&amp;nbsp;&lt;A href="https://codepen.io/rsandu/pen/LYdwyRV" target="_blank" rel="noopener"&gt;https://codepen.io/rsandu/pen/LYdwyRV&lt;/A&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Thank you&lt;/DIV&gt;</description>
      <pubDate>Tue, 30 Aug 2022 05:46:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layer-invalid-getcapabilities-response/m-p/1207560#M78491</guid>
      <dc:creator>RobertSandu</dc:creator>
      <dc:date>2022-08-30T05:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: WMS Layer - invalid GetCapabilities response</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layer-invalid-getcapabilities-response/m-p/1207751#M78503</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/613906"&gt;@RobertSandu&lt;/a&gt;&amp;nbsp;- you need to set the spatialReference on your layer and the MapView (not the map). &lt;A href="https://codepen.io/annefitz/pen/MWVNBmw" target="_blank"&gt;https://codepen.io/annefitz/pen/MWVNBmw&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Now the layer is fetching data after the GetCapabilities request, but I still get a white screen. Is this expected? The GetMap requests return white for me, for example:&amp;nbsp;&lt;A href="https://api.emapsite.com/dataservicenoauth.svc/api/wms/xais?width=1228&amp;amp;height=395&amp;amp;bbox=-29464551.406024616%2C-15133359.454438109%2C30264551.406024616%2C4079177.687874141&amp;amp;srs=EPSG%3A27700&amp;amp;format=image%2Fpng&amp;amp;request=GetMap&amp;amp;service=WMS&amp;amp;styles=&amp;amp;transparent=TRUE&amp;amp;version=1.1.1&amp;amp;layers=OS%20MasterMap%20Topo%20Schema9%20NoText_Greyscale&amp;amp;_ts=1661874295354" target="_blank"&gt;https://api.emapsite.com/dataservicenoauth.svc/api/wms/xais?width=1228&amp;amp;height=395&amp;amp;bbox=-29464551.406024616%2C-15133359.454438109%2C30264551.406024616%2C4079177.687874141&amp;amp;srs=EPSG%3A27700&amp;amp;format=image%2Fpng&amp;amp;request=GetMap&amp;amp;service=WMS&amp;amp;styles=&amp;amp;transparent=TRUE&amp;amp;version=1.1.1&amp;amp;layers=OS%20MasterMap%20Topo%20Schema9%20NoText_Greyscale&amp;amp;_ts=1661874295354&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 15:46:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layer-invalid-getcapabilities-response/m-p/1207751#M78503</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2022-08-30T15:46:55Z</dc:date>
    </item>
  </channel>
</rss>

