<?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 in Silverlight app in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-in-silverlight-app/m-p/13031#M314</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is what I did...errors are gone but nothign is showing up...I am contacting the 3rd party to see if soemthign is messed up on their end...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I thank you for that...I missed the WMS example...I was getting my prior code from another website..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe their data is WGS 84, but it shoudl auto project right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;' MAIN PAGE .xaml&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;esri:WmsLayer ID="LOGISLAYER" 
 Url="http://gis.logis.org/ArcGIS/services/MG_TEST/MapServer/WMSServer"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
 Initialized="WmsLayer_Initialized2"/&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;MAIN PAGE vb.xaml&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Private Sub WmsLayer_Initialized2(ByVal sender As System.Object, ByVal e As System.EventArgs)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim myWmsLayer As ESRI.ArcGIS.Client.Toolkit.DataSources.WmsLayer
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myWmsLayer = TryCast(MyMap.Layers("LOGISLAYER"), ESRI.ArcGIS.Client.Toolkit.DataSources.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; ' You can control the visibility of which WMS layers are displayed by adding the
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' sub-LayerID's to the String Array. 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim myVisibleWmsLayers() As String = {"0"}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myWmsLayer.Layers = myVisibleWmsLayers
&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 20:33:09 GMT</pubDate>
    <dc:creator>JayKappy</dc:creator>
    <dc:date>2021-12-10T20:33:09Z</dc:date>
    <item>
      <title>WMS layer in Silverlight app</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-in-silverlight-app/m-p/13026#M309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to display a WMS layer being published from a 3rd party source...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&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;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried this but am getting errors saying that the type cannot be found and that I might be missing an assembly reference???&amp;nbsp; If missign a reference, how teh heck do I know what reference to add for this?&amp;nbsp; Is there soem location that explains what references are needed for what?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;esriWMS:WMSMapServiceLayer ID="WMS Layer" Layers="2909_17518_bg" Url="http://aes.gsfc.nasa.gov/cgi-bin/wms" Opacity="0.7"&amp;gt;&amp;lt;/esriWMS:WMSMapServiceLayer&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;Any thoughts or additional info on displaying WMS services?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;THANKS&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Dec 2010 12:51:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-in-silverlight-app/m-p/13026#M309</guid>
      <dc:creator>JayKappy</dc:creator>
      <dc:date>2010-12-07T12:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layer in Silverlight app</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-in-silverlight-app/m-p/13027#M310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;WMSLayer is defined in ESRI.ArcGIS.Client.Toolkit.Datasource so you need to include it in your project.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Dec 2010 13:55:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-in-silverlight-app/m-p/13027#M310</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2010-12-07T13:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layer in Silverlight app</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-in-silverlight-app/m-p/13028#M311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How do you know that?&amp;nbsp; Is there some place to look that up?.......&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;THanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Dec 2010 17:23:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-in-silverlight-app/m-p/13028#M311</guid>
      <dc:creator>JayKappy</dc:creator>
      <dc:date>2010-12-07T17:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layer in Silverlight app</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-in-silverlight-app/m-p/13029#M312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I went into Add References and Added ESRI.ArcGIS.Client.Toolkit.DataSources reference&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I then added this to the User Control&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;xmlns:esriWMS="clr-namespace:ESRI.ArcGIS.Client.Toolkit.DataSources;assembly=ESRI.ArcGIS.Client.Toolkit.DataSources"&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the WMS in the Map&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;esriWMS:WMSMapServiceLayer ID="AGSWMSLayer" 
Url="http://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer"&amp;nbsp;&amp;nbsp; 
SkipGetCapabilities="True"
Layers="2" Version="1.3" Opacity="0.7"/&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But then I get a bunch of errors:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. The type esriWMS:WMSMapServiceLayer was not found, missing assembly reference&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. The TAG WMSMapServiceLayer does not exist in XML namespace "clr-namespace:ESRI.ArcGIS.Client.Toolkit;assembly=ESRI.ArcGIS.Client.Toolkit.DataSource"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any more thoughts?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:33:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-in-silverlight-app/m-p/13029#M312</guid>
      <dc:creator>JayKappy</dc:creator>
      <dc:date>2021-12-10T20:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layer in Silverlight app</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-in-silverlight-app/m-p/13030#M313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you looked at this sample? &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#WmsLayerSimple" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#WmsLayerSimple&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Notice that in the xaml, the following xaml namespace definition was added.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:esri="http://schemas.esri.com/arcgis/client/2009"&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;which allows for the following code to work:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:WmsLayer .../&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also tried your code and it works for me. Have you check project references the correct assembly? ESRI.ArcGIS.Client.Toolkit.DataSources.dll?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:33:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-in-silverlight-app/m-p/13030#M313</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-10T20:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layer in Silverlight app</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-in-silverlight-app/m-p/13031#M314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is what I did...errors are gone but nothign is showing up...I am contacting the 3rd party to see if soemthign is messed up on their end...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I thank you for that...I missed the WMS example...I was getting my prior code from another website..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe their data is WGS 84, but it shoudl auto project right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;' MAIN PAGE .xaml&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;esri:WmsLayer ID="LOGISLAYER" 
 Url="http://gis.logis.org/ArcGIS/services/MG_TEST/MapServer/WMSServer"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
 Initialized="WmsLayer_Initialized2"/&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;MAIN PAGE vb.xaml&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Private Sub WmsLayer_Initialized2(ByVal sender As System.Object, ByVal e As System.EventArgs)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim myWmsLayer As ESRI.ArcGIS.Client.Toolkit.DataSources.WmsLayer
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myWmsLayer = TryCast(MyMap.Layers("LOGISLAYER"), ESRI.ArcGIS.Client.Toolkit.DataSources.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; ' You can control the visibility of which WMS layers are displayed by adding the
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' sub-LayerID's to the String Array. 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim myVisibleWmsLayers() As String = {"0"}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myWmsLayer.Layers = myVisibleWmsLayers
&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:33:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-in-silverlight-app/m-p/13031#M314</guid>
      <dc:creator>JayKappy</dc:creator>
      <dc:date>2021-12-10T20:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layer in Silverlight app</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-in-silverlight-app/m-p/13032#M315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are these service set up to be consumed by webapp's?&amp;nbsp; If I open fiddler and attempt to connect I get errors regarading "/clientaccesspolicy.xml" and "/crossdomain.xml".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Dec 2010 21:20:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-in-silverlight-app/m-p/13032#M315</guid>
      <dc:creator>FrankKish</dc:creator>
      <dc:date>2010-12-07T21:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layer in Silverlight app</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-in-silverlight-app/m-p/13033#M316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It will only be able to autoproject if that service supports the WKID of your map (for instance most non-ArcGIS servers doesn't support 102100 that ArcGIS Server uses for WebMercator)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 19:01:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-in-silverlight-app/m-p/13033#M316</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-12-08T19:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layer in Silverlight app</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-in-silverlight-app/m-p/13034#M317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I thank you all for your efforts....it turns out there was soemthing wrong with the data...they no have it stright and its showing up....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks...very appreciated&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Dec 2010 13:27:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-in-silverlight-app/m-p/13034#M317</guid>
      <dc:creator>JayKappy</dc:creator>
      <dc:date>2010-12-13T13:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layer in Silverlight app</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-in-silverlight-app/m-p/13035#M318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I used ESRI.ArcGIS.Client.Toolkit.DataSources to my application. but it is not work.can you tell me how did you get the WMSMapServiceLayer?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 May 2012 08:12:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-in-silverlight-app/m-p/13035#M318</guid>
      <dc:creator>HuJinHai</dc:creator>
      <dc:date>2012-05-05T08:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layer in Silverlight app</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-in-silverlight-app/m-p/13036#M319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;can you tell me how did you get the WMSMapServiceLayer? &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;The WMS Layer is called 'WmsLayer' and not 'WmsMapServiceLayer'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a sample of usage here : &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#WmsLayerSimple"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#WmsLayerSimple&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 09:23:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-in-silverlight-app/m-p/13036#M319</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2012-05-09T09:23:43Z</dc:date>
    </item>
  </channel>
</rss>

