<?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: FlexViewer, config.xml and GeoServer WMS in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flexviewer-config-xml-and-geoserver-wms/m-p/762456#M22838</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dasa - thanks, I solved my problem - in the end the usual issue of projections!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First, Charles Proxy &amp;amp; HttpFox are good suggestions. I actually used Chrome which has similar http traffic inspection tool (F12 -&amp;gt; Developer tools -&amp;gt; Resources/Network). Great for inspecting responses from wms requests. Using this I saw the bounding box coordinates were the problem (for FlexViewer they need to be in projected web-mercator not geographic wgs84). Changing the FlexViewer wkid as below solved problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;layer label="Tiger_Roads" type="wms" visible="true" skipgetcapabilities="true" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;wkid="3857" format="image/png" visiblelayers="tiger:tiger_roads" version="1.1.0"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;server&amp;gt;:8080/geoserver/tiger/wms"/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The other useful clue was in the forum discussion on projections here &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.esri.com/Thread.asp?c=93&amp;amp;f=984&amp;amp;t=288607" rel="nofollow" target="_blank"&gt;http://forums.esri.com/Thread.asp?c=93&amp;amp;f=984&amp;amp;t=288607&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 28 Jan 2012 11:04:47 GMT</pubDate>
    <dc:creator>StephenHallett</dc:creator>
    <dc:date>2012-01-28T11:04:47Z</dc:date>
    <item>
      <title>FlexViewer, config.xml and GeoServer WMS</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flexviewer-config-xml-and-geoserver-wms/m-p/762452#M22834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hope someone can help. I am trying to get the FlexViewer (2.5) to use a wms feed from GeoServer (2.1.0) with no luck.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am just trying to get one of the default GeoServer layers (tiger:tiger_roads) to show up&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the FlexViewer config.xml, an an operational layer I am trying:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;layer label="Tiger_Roads" type="wms" visible="true" alpha="0.6" skipgetcapabilities="true" &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; crs="EPSG:4326" format="image/png" visiblelayers="tiger:tiger_roads"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;server&amp;gt;:8080/geoserver/tiger/wms"/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Geoserver, the valid wms URL is&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;server&amp;gt;:8080/geoserver/wms?service=WMS&amp;amp;version=1.1.0&amp;amp;request=GetMap&amp;amp;layers=tiger:tiger_roads&amp;amp;styles=&amp;amp;bbox=-74.02722,40.684221,-73.907005,40.878178&amp;amp;width=317&amp;amp;height=512&amp;amp;srs=EPSG:4326&amp;amp;format=image/jpeg&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Menu item appears, but with no data and 'zoom to layer' zooms out to whole world. Any help appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 11:49:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flexviewer-config-xml-and-geoserver-wms/m-p/762452#M22834</guid>
      <dc:creator>StephenHallett</dc:creator>
      <dc:date>2012-01-27T11:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: FlexViewer, config.xml and GeoServer WMS</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flexviewer-config-xml-and-geoserver-wms/m-p/762453#M22835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try adding version="1.1.0" to your layer tag.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/Layer_tag/01m30000000p000000/"&gt;http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/Layer_tag/01m30000000p000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 17:07:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flexviewer-config-xml-and-geoserver-wms/m-p/762453#M22835</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2012-01-27T17:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: FlexViewer, config.xml and GeoServer WMS</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flexviewer-config-xml-and-geoserver-wms/m-p/762454#M22836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dasa - thanks for your reply. Still no luck I'm afraid. Here is current, edited connection string:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;layer label="Tiger_Roads" type="wms" visible="true" skipgetcapabilities="true" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;crs="EPSG:4326" format="image/png" visiblelayers="tiger:tiger_roads" version="1.1.0"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;server&amp;gt;:8080/geoserver/tiger/wms"/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Geoserver instance is on the same server as flexviewer to try to sidestep crossdomain issues. Geoserver is serving up wms data correctly using full url posted earlier. Is there any diagnostic I can use to see if FlexViewer is receiving anything?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 20:40:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flexviewer-config-xml-and-geoserver-wms/m-p/762454#M22836</guid>
      <dc:creator>StephenHallett</dc:creator>
      <dc:date>2012-01-27T20:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: FlexViewer, config.xml and GeoServer WMS</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flexviewer-config-xml-and-geoserver-wms/m-p/762455#M22837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try a tool like Charles Proxy or HttpFox to see the HTTP request and response.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 21:29:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flexviewer-config-xml-and-geoserver-wms/m-p/762455#M22837</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2012-01-27T21:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: FlexViewer, config.xml and GeoServer WMS</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flexviewer-config-xml-and-geoserver-wms/m-p/762456#M22838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dasa - thanks, I solved my problem - in the end the usual issue of projections!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First, Charles Proxy &amp;amp; HttpFox are good suggestions. I actually used Chrome which has similar http traffic inspection tool (F12 -&amp;gt; Developer tools -&amp;gt; Resources/Network). Great for inspecting responses from wms requests. Using this I saw the bounding box coordinates were the problem (for FlexViewer they need to be in projected web-mercator not geographic wgs84). Changing the FlexViewer wkid as below solved problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;layer label="Tiger_Roads" type="wms" visible="true" skipgetcapabilities="true" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;wkid="3857" format="image/png" visiblelayers="tiger:tiger_roads" version="1.1.0"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;server&amp;gt;:8080/geoserver/tiger/wms"/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The other useful clue was in the forum discussion on projections here &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.esri.com/Thread.asp?c=93&amp;amp;f=984&amp;amp;t=288607" rel="nofollow" target="_blank"&gt;http://forums.esri.com/Thread.asp?c=93&amp;amp;f=984&amp;amp;t=288607&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jan 2012 11:04:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flexviewer-config-xml-and-geoserver-wms/m-p/762456#M22838</guid>
      <dc:creator>StephenHallett</dc:creator>
      <dc:date>2012-01-28T11:04:47Z</dc:date>
    </item>
  </channel>
</rss>

