<?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: HTTPS based WMS Services support in Runtime? in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/https-based-wms-services-support-in-runtime/m-p/162146#M466</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried your first code snippet, and it worked nicely. Without the spatial reference.&lt;/P&gt;&lt;P&gt;However, I did add a basemap with a spatial reference of 4326 first.&lt;/P&gt;&lt;P&gt;Then added the WMS layer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Feb 2015 16:56:18 GMT</pubDate>
    <dc:creator>EricBader</dc:creator>
    <dc:date>2015-02-23T16:56:18Z</dc:date>
    <item>
      <title>HTTPS based WMS Services support in Runtime?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/https-based-wms-services-support-in-runtime/m-p/162145#M465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am facing issues adding any HTTPS based WMS service using ArcGIS Runtime. Strange thing is that I have to set the spatial reference to WGS84 while initializing WMS Service or else it gives error. Even though the layer status says initialized I get all properties e.g. spatialreference, extents etc as null and nothing displays in JMap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Test URL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://hazards.fema.gov/gis/nfhl/services/public/NFHLWMS/MapServer/WMSServer" rel="nofollow" target="_blank"&gt;https://hazards.fema.gov/gis/nfhl/services/public/NFHLWMS/MapServer/WMSServer&lt;/A&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Code Snippet&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;String url = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://hazards.fema.gov/gis/nfhl/services/public/NFHLWMS/MapServer/WMSServer" rel="nofollow" target="_blank"&gt;https://hazards.fema.gov/gis/nfhl/services/public/NFHLWMS/MapServer/WMSServer&lt;/A&gt;&lt;SPAN&gt;?";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;final WmsDynamicMapServiceLayer wmsLayer = new WmsDynamicMapServiceLayer(url);&lt;/P&gt;&lt;P&gt;layers.add(wmsLayer);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Shows layer status ERRORED&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I change it as below&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;String url = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://hazards.fema.gov/gis/nfhl/services/public/NFHLWMS/MapServer/WMSServer" rel="nofollow" target="_blank"&gt;https://hazards.fema.gov/gis/nfhl/services/public/NFHLWMS/MapServer/WMSServer&lt;/A&gt;&lt;SPAN&gt;?";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SpatialReference crs = SpatialReference.create(SpatialReference.WKID_WGS84);&lt;/P&gt;&lt;P&gt;WmsDynamicMapServiceLayer wmsLayer = new WmsDynamicMapServiceLayer(url, crs);&lt;/P&gt;&lt;P&gt;layers.add(wmsLayer);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Shows layer status INITIALIZED&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still I am not able to view anything on the JMap. What am I missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE :- I am using an authenticated Proxy and all HTTP urls works well.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: navy; font-size: 10pt;"&gt;&lt;A href="https://community.esri.com/migrated-users/3159"&gt;Eric Bader&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: navy; font-size: 10pt;"&gt;&lt;A href="https://community.esri.com/migrated-users/23266"&gt;Vijay Gandhi&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: navy; font-size: 10pt;"&gt;&lt;A href="https://community.esri.com/migrated-users/25068"&gt;Elise Acheson&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 10:50:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/https-based-wms-services-support-in-runtime/m-p/162145#M465</guid>
      <dc:creator>SachinKanaujia</dc:creator>
      <dc:date>2015-02-20T10:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: HTTPS based WMS Services support in Runtime?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/https-based-wms-services-support-in-runtime/m-p/162146#M466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried your first code snippet, and it worked nicely. Without the spatial reference.&lt;/P&gt;&lt;P&gt;However, I did add a basemap with a spatial reference of 4326 first.&lt;/P&gt;&lt;P&gt;Then added the WMS layer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 16:56:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/https-based-wms-services-support-in-runtime/m-p/162146#M466</guid>
      <dc:creator>EricBader</dc:creator>
      <dc:date>2015-02-23T16:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: HTTPS based WMS Services support in Runtime?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/https-based-wms-services-support-in-runtime/m-p/162147#M467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Eric. Was your test behind an Authenticated Proxy? Because we use authenticated proxy and it might be related to that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even though the layer initialized nothing shows up on the JMap. Where you able to view the contents of the WMS map service?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 07:37:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/https-based-wms-services-support-in-runtime/m-p/162147#M467</guid>
      <dc:creator>SachinKanaujia</dc:creator>
      <dc:date>2015-02-24T07:37:06Z</dc:date>
    </item>
  </channel>
</rss>

