<?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 Adding secure wms service to ArcGIS Pro in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/adding-secure-wms-service-to-arcgis-pro/m-p/876304#M5430</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm trying to add a secure WMS service to ArcGIS Pro. It works with non secured WMS services but comes up with a request for user and password even if they are given in code. In fiddler you can see that the Authorization credentials are not commited for the connection.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QueuedTask.Run(() =&amp;gt;&lt;BR /&gt; {&lt;BR /&gt; var serverConnection = new CIMInternetServerConnection { URL = wmsLayerEndpoint.Url, Password = wmsLayerEndpoint.Password, User = wmsLayerEndpoint.Username };&lt;BR /&gt; var connection = new CIMWMSServiceConnection { ServerConnection = serverConnection, Description = caption, LayerName = name };&lt;/P&gt;&lt;P&gt;var layer = LayerFactory.Instance.CreateLayer(connection, MapView.Active.Map);&lt;BR /&gt; layer.SetExpanded(true);&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did I miss something or is there a bug.&lt;/P&gt;&lt;P&gt;Help would be highly appreciated.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Jan 2019 11:11:24 GMT</pubDate>
    <dc:creator>MyriamFischer</dc:creator>
    <dc:date>2019-01-14T11:11:24Z</dc:date>
    <item>
      <title>Adding secure wms service to ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/adding-secure-wms-service-to-arcgis-pro/m-p/876304#M5430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm trying to add a secure WMS service to ArcGIS Pro. It works with non secured WMS services but comes up with a request for user and password even if they are given in code. In fiddler you can see that the Authorization credentials are not commited for the connection.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QueuedTask.Run(() =&amp;gt;&lt;BR /&gt; {&lt;BR /&gt; var serverConnection = new CIMInternetServerConnection { URL = wmsLayerEndpoint.Url, Password = wmsLayerEndpoint.Password, User = wmsLayerEndpoint.Username };&lt;BR /&gt; var connection = new CIMWMSServiceConnection { ServerConnection = serverConnection, Description = caption, LayerName = name };&lt;/P&gt;&lt;P&gt;var layer = LayerFactory.Instance.CreateLayer(connection, MapView.Active.Map);&lt;BR /&gt; layer.SetExpanded(true);&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did I miss something or is there a bug.&lt;/P&gt;&lt;P&gt;Help would be highly appreciated.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2019 11:11:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/adding-secure-wms-service-to-arcgis-pro/m-p/876304#M5430</guid>
      <dc:creator>MyriamFischer</dc:creator>
      <dc:date>2019-01-14T11:11:24Z</dc:date>
    </item>
  </channel>
</rss>

