<?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: Query WMS Layer in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-wms-layer/m-p/581919#M14911</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The proxy was of no use.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Strange. If you are able to display the layer using a proxy, you should be able to query it by using the same proxy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;I've found the crossdomain.xml is not in the root.&lt;BR /&gt;&lt;A href="http://maps.helcom.fi/website/crossdomain.xml"&gt;&lt;SPAN style="color:#417394;"&gt;http://maps.helcom.fi/website/crossdomain.xml&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;How to tell Silverlight to look for the crossdomain.xml here instead?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;crossdomain or cliantaccesspolicy files must be in the root of the website. AFAIK, there is no way to change this behavior.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Still interesting in knowing if it is possible to read the crossdomain.xml file without using fiddler AutoResponder. &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Proxy should be the solution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Apr 2012 08:14:46 GMT</pubDate>
    <dc:creator>DominiqueBroux</dc:creator>
    <dc:date>2012-04-19T08:14:46Z</dc:date>
    <item>
      <title>Query WMS Layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-wms-layer/m-p/581914#M14906</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 a newbie at Siverlight and WMS.&amp;nbsp; I followed the Silverlight Interactive SDK and able to load WmsLayer in XAML successfully; thus, I can see the features on the map.&amp;nbsp; But, I am not able to go further, i.e. query info in the WmsLayer.&amp;nbsp; I tried QueryTask but it gave me errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looking for example C# code and/or documentation of how to query WmsLayer.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2011 17:32:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-wms-layer/m-p/581914#M14906</guid>
      <dc:creator>MarieChan-Gove</dc:creator>
      <dc:date>2011-06-30T17:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Query WMS Layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-wms-layer/m-p/581915#M14907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The WMS Layer in the API does not provide support for the GetFeature request in WMS Layers out of the box.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Jul 2011 00:10:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-wms-layer/m-p/581915#M14907</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2011-07-02T00:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Query WMS Layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-wms-layer/m-p/581916#M14908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've a similar problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Following the example for spatial query and replacing the commented link with a new link&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;//QueryTask queryTask = new QueryTask("http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/5");
QueryTask queryTask = new QueryTask("http://maps.helcom.fi/ArcGIS/rest/services/DataDeliveryNoSublayers/MapServer/132");&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; //query.OutFields.AddRange(new string[] { "STATE_NAME", "SUB_REGION", "STATE_FIPS", "STATE_ABBR", "POP2000", "POP2007" });
&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; query.OutFields.AddRange(new string[] { "ET_FID", "ID", "COUNTRY", "AIRCRAFT", "SPEED_KN", "RS_EQUIP" });&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The wms layer is defined as&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;esri:WmsLayer ID="- Aircrafts" Url="http://maps.helcom.fi/ArcGIS/services/DataDelivery/MapServer/WMSServer?" 
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProxyUrl="http://serverapps.esri.com/SilverlightDemos/ProxyPage/proxy.ashx"&amp;nbsp; Version="1.3.0" Layers="179"
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SkipGetCapabilities="True" Initialized="WmsLayer_Initialized" Visible="True" InitializationFailed="layer_InitializationFailed"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;the WMS layer is inside two group layers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Trying this i got this error&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]13484[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the crossdomain.xml file I think is in the correct location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe the problem is more layers being selected and Query tasks trying to query the wrong layer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any good sugestion on how to get on?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:01:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-wms-layer/m-p/581916#M14908</guid>
      <dc:creator>OscarLexell</dc:creator>
      <dc:date>2021-12-12T01:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Query WMS Layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-wms-layer/m-p/581917#M14909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As you need a proxy for your map service, likely you need one for the query task as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you put a proxy for the query task?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Else you can look to the query sent to the server by using an HTTP sniffer such as fiddler. This might give a clue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 05:49:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-wms-layer/m-p/581917#M14909</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2012-04-16T05:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Query WMS Layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-wms-layer/m-p/581918#M14910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The proxy was of no use. bur fiddler give a clue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've found the crossdomain.xml is not in the root.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://maps.helcom.fi/website/crossdomain.xml"&gt;http://maps.helcom.fi/website/crossdomain.xml&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;How to tell Silverlight to look for the crossdomain.xml here instead?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure if this will help, but it is the only crossdomain or clientaccesspolicy I can find.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Edit&lt;/SPAN&gt;&lt;SPAN&gt;, by using Fiddler AutoResponder I can trick the application to read a local clientaccesspolicy.xml or the crossdomain linked above. Now the query works and I will start to figure out how to query several layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Still interesting in knowing if it is possible to read the crossdomain.xml file without using fiddler AutoResponder.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 09:41:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-wms-layer/m-p/581918#M14910</guid>
      <dc:creator>OscarLexell</dc:creator>
      <dc:date>2012-04-18T09:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Query WMS Layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-wms-layer/m-p/581919#M14911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The proxy was of no use.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Strange. If you are able to display the layer using a proxy, you should be able to query it by using the same proxy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;I've found the crossdomain.xml is not in the root.&lt;BR /&gt;&lt;A href="http://maps.helcom.fi/website/crossdomain.xml"&gt;&lt;SPAN style="color:#417394;"&gt;http://maps.helcom.fi/website/crossdomain.xml&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;How to tell Silverlight to look for the crossdomain.xml here instead?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;crossdomain or cliantaccesspolicy files must be in the root of the website. AFAIK, there is no way to change this behavior.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Still interesting in knowing if it is possible to read the crossdomain.xml file without using fiddler AutoResponder. &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Proxy should be the solution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2012 08:14:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-wms-layer/m-p/581919#M14911</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2012-04-19T08:14:46Z</dc:date>
    </item>
    <item>
      <title>View and Query WMS Layer Dynamically From ArcGIS Silverlight API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-wms-layer/m-p/581920#M14912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, You can write a proxy page has that capabilites;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Gets arcgis request from any arcgis client api (flex-silverlight-javascript-...).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Prepares the wms request for send to geoserver or other ogc servers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Gets response of the ogc getcapabilities,describefeaturetype and the other request types responses.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Convert response xml or xsd reponses that returns from wms, to ArcGIS json format.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And you can use an ogc service as below,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layer = new ArcGISDynamicMapServiceLayer() &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{ ID ="GeoServer WMS", &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Url = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://demo.opengeo.org/geoserver/osm/wms" rel="nofollow" target="_blank"&gt;http://demo.opengeo.org/geoserver/osm/wms&lt;/A&gt;&lt;SPAN&gt;", &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; ProxyURL = "&lt;/SPAN&gt;&lt;STRONG&gt;Your proxy page &lt;/STRONG&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have written that proxy and Im looking for editing capabilities for convert to use wfs-t services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think, It will not be easy &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Dec 2013 19:21:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-wms-layer/m-p/581920#M14912</guid>
      <dc:creator>İsmailZAMBAKCI</dc:creator>
      <dc:date>2013-12-14T19:21:07Z</dc:date>
    </item>
  </channel>
</rss>

