<?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: WMSLayer display perfectly in arccatalog and arcmap but in flex in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/wmslayer-display-perfectly-in-arccatalog-and/m-p/369033#M8653</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you use a tool like Fiddler or HttpFox to see what requests are being made to your service and what the responses are?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Mar 2011 18:55:43 GMT</pubDate>
    <dc:creator>DasaPaddock</dc:creator>
    <dc:date>2011-03-03T18:55:43Z</dc:date>
    <item>
      <title>WMSLayer display perfectly in arccatalog and arcmap but in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/wmslayer-display-perfectly-in-arccatalog-and/m-p/369030#M8650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I publish a map service with WMS capability, it displays perfectly when added to arcmap and previews in arccatalog, but shows nothing in flex project using WMSLayer, the arcgis api for flex is 2.2. Any suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; thanks in advance for any help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;following is my code. &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:s="library://ns.adobe.com/flex/spark"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:esri="http://www.esri.com/2008/ags"&amp;gt;
 &amp;lt;fx:Script&amp;gt;
&amp;nbsp; &amp;lt;![CDATA[
&amp;nbsp;&amp;nbsp; import com.esri.ags.Units;
&amp;nbsp; ]]&amp;gt;
 &amp;lt;/fx:Script&amp;gt;
 &amp;lt;esri:Map units="{Units.DECIMAL_DEGREES}"&amp;gt;
&amp;nbsp; &amp;lt;esri:WMSLayer 
&amp;nbsp;&amp;nbsp; url="http://sdm:8399/arcgis/services/nef/MapServer/WMSServer"/&amp;gt;
 &amp;lt;/esri:Map&amp;gt;
&amp;lt;/s:Application&amp;gt;
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 14:18:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/wmslayer-display-perfectly-in-arccatalog-and/m-p/369030#M8650</guid>
      <dc:creator>DamonSong</dc:creator>
      <dc:date>2011-03-02T14:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: WMSLayer display perfectly in arccatalog and arcmap but in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/wmslayer-display-perfectly-in-arccatalog-and/m-p/369031#M8651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you accessing your Flex app at &lt;/SPAN&gt;&lt;A href="http://sdm:8399/...?"&gt;http://sdm:8399/...?&lt;/A&gt;&lt;SPAN&gt; If not, you'll need a crossdomain.xml file at &lt;/SPAN&gt;&lt;A href="http://sdm:8399/crossdomain.xml"&gt;http://sdm:8399/crossdomain.xml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See References book at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/help/index.html"&gt;http://help.arcgis.com/en/webapi/flex/help/index.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 17:51:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/wmslayer-display-perfectly-in-arccatalog-and/m-p/369031#M8651</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2011-03-02T17:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: WMSLayer display perfectly in arccatalog and arcmap but in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/wmslayer-display-perfectly-in-arccatalog-and/m-p/369032#M8652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Are you accessing your Flex app at &lt;A href="http://sdm:8399/...?"&gt;http://sdm:8399/...?&lt;/A&gt; If not, you'll need a crossdomain.xml file at &lt;A href="http://sdm:8399/crossdomain.xml"&gt;http://sdm:8399/crossdomain.xml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;See References book at:&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/help/index.html"&gt;http://help.arcgis.com/en/webapi/flex/help/index.html&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for your reply!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; i try your suggestion, but it still does not work. My crossdomain.xml is located at "Server10.0\java\manager\web_output\crossdomain.xml", and i can get it at &lt;/SPAN&gt;&lt;A href="http://sdm:8399/crossdomain.xml"&gt;http://sdm:8399/crossdomain.xml&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; the screenshots are attached.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 03:17:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/wmslayer-display-perfectly-in-arccatalog-and/m-p/369032#M8652</guid>
      <dc:creator>DamonSong</dc:creator>
      <dc:date>2011-03-03T03:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: WMSLayer display perfectly in arccatalog and arcmap but in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/wmslayer-display-perfectly-in-arccatalog-and/m-p/369033#M8653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you use a tool like Fiddler or HttpFox to see what requests are being made to your service and what the responses are?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 18:55:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/wmslayer-display-perfectly-in-arccatalog-and/m-p/369033#M8653</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2011-03-03T18:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: WMSLayer display perfectly in arccatalog and arcmap but in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/wmslayer-display-perfectly-in-arccatalog-and/m-p/369034#M8654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@xgyb12458 &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From the code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://sdm:8399/arcgis/services/nef/MapServer/WMSServer"&gt;http://sdm:8399/arcgis/services/nef/MapServer/WMSServer&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am sorry to point out the possible obvious, but i think you forgot the rest part of the URL e.g:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://sdm:8399/arcgis/"&gt;http://sdm:8399/arcgis/&lt;/A&gt;&lt;STRONG&gt;rest&lt;/STRONG&gt;&lt;SPAN&gt;/services/nef/MapServer/WMSServer&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2011 09:09:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/wmslayer-display-perfectly-in-arccatalog-and/m-p/369034#M8654</guid>
      <dc:creator>HugoDurana</dc:creator>
      <dc:date>2011-03-04T09:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: WMSLayer display perfectly in arccatalog and arcmap but in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/wmslayer-display-perfectly-in-arccatalog-and/m-p/369035#M8655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;xgyb12458,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to specify at least one visible layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hugo.durana,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The WMS layer does not use the REST endpoint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See sample at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=WMS"&gt;http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=WMS&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2011 15:48:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/wmslayer-display-perfectly-in-arccatalog-and/m-p/369035#M8655</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2011-03-04T15:48:28Z</dc:date>
    </item>
  </channel>
</rss>

