<?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 Retrieving a WMS service in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/retrieving-a-wms-service/m-p/129653#M12021</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am asking if there is a way to create a WMSLayer from a WMS url.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am under the following constraints&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A) I cannot use the proxy solution as our production infrastructure does not allow outbound communications&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;B) The WMS URL is not within our network domain, so I am facing 'same site origin policy' issues&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know of another way to consume an external WMS service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Secondly, if I do, somehow, get the XML data from the WMS service, is there a way to create the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WMSLayer object by supplying the raw XML data and no URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Most appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Daniel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 May 2014 15:08:55 GMT</pubDate>
    <dc:creator>DanielNwankwo</dc:creator>
    <dc:date>2014-05-21T15:08:55Z</dc:date>
    <item>
      <title>Retrieving a WMS service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/retrieving-a-wms-service/m-p/129653#M12021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am asking if there is a way to create a WMSLayer from a WMS url.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am under the following constraints&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A) I cannot use the proxy solution as our production infrastructure does not allow outbound communications&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;B) The WMS URL is not within our network domain, so I am facing 'same site origin policy' issues&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know of another way to consume an external WMS service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Secondly, if I do, somehow, get the XML data from the WMS service, is there a way to create the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WMSLayer object by supplying the raw XML data and no URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Most appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Daniel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 15:08:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/retrieving-a-wms-service/m-p/129653#M12021</guid>
      <dc:creator>DanielNwankwo</dc:creator>
      <dc:date>2014-05-21T15:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving a WMS service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/retrieving-a-wms-service/m-p/129654#M12022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Danoski,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As per ArcGIS JS api documentation of WMS layer class:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;The default behavior of a WMSLayer is to execute a WMS GetCapabilities request, which requires using a proxy page. An alternate approach is to pass a resourceInfo object into the constructor which does not require a GetCapabilities request.&lt;/SPAN&gt;&lt;SPAN&gt; "&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So if you pass resourceInfo it should not use proxy page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope it helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rahul&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 15:24:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/retrieving-a-wms-service/m-p/129654#M12022</guid>
      <dc:creator>RahulMetangale1</dc:creator>
      <dc:date>2014-05-21T15:24:47Z</dc:date>
    </item>
    <item>
      <title>Retrieving a WMS service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/retrieving-a-wms-service/m-p/129655#M12023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Rahul,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thnak you for you help. I can now display the WMS map using the resourseInfo. However if I set the baseMap of my map object to 'streets' the WMS map does not show anymore.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure why that would be, I only have one layer&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 09:56:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/retrieving-a-wms-service/m-p/129655#M12023</guid>
      <dc:creator>DanielNwankwo</dc:creator>
      <dc:date>2014-05-22T09:56:22Z</dc:date>
    </item>
  </channel>
</rss>

