<?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 XML parse error when adding Geoserver WMS layer in ArcMap Questions</title>
    <link>https://community.esri.com/t5/arcmap-questions/xml-parse-error-when-adding-geoserver-wms-layer/m-p/1160683#M3632</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am adding a GeoServer WMS layer into ARCGIS. After making HTTP request to the GeoServer, I get the required image/jpeg in the response but when I try to add this layer into map, it throws below errors :-&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;[esri.layers.WMSLayer] #load() Failed to load layer (title: 'IMAGE', id: '17ff30d84b3-layer-20')&amp;nbsp;&lt;UL&gt;&lt;LI&gt;message: "XML Parse Error"&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;[esri.views.LayerViewManager] Failed to create layerview for layer title: 'IMAGE', id: '17ff30d84b3-layer-20' of type 'wms'&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Following code I am using to make the request :&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000"&gt;var layer = new WMSLayer({ url: "geoserver/test/wms", title: "IMAGE", customParameters: { 'SERVICE': 'WMS', 'REQUEST': 'GetMap', 'BBOX': '109.37,18.03,111.03,19.64', 'WIDTH': '768', 'HEIGHT': '651', 'SRS': 'EPSG:4326', 'FORMAT': 'image/jpeg', 'VERSION': '1.1.1', 'STYLES': '', 'LAYERS': 'cite:test' } }); &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000"&gt;map.add(layer);​&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Any help would be highly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Apr 2022 11:58:09 GMT</pubDate>
    <dc:creator>MridulChandel</dc:creator>
    <dc:date>2022-04-04T11:58:09Z</dc:date>
    <item>
      <title>XML parse error when adding Geoserver WMS layer</title>
      <link>https://community.esri.com/t5/arcmap-questions/xml-parse-error-when-adding-geoserver-wms-layer/m-p/1160683#M3632</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am adding a GeoServer WMS layer into ARCGIS. After making HTTP request to the GeoServer, I get the required image/jpeg in the response but when I try to add this layer into map, it throws below errors :-&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;[esri.layers.WMSLayer] #load() Failed to load layer (title: 'IMAGE', id: '17ff30d84b3-layer-20')&amp;nbsp;&lt;UL&gt;&lt;LI&gt;message: "XML Parse Error"&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;[esri.views.LayerViewManager] Failed to create layerview for layer title: 'IMAGE', id: '17ff30d84b3-layer-20' of type 'wms'&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Following code I am using to make the request :&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000"&gt;var layer = new WMSLayer({ url: "geoserver/test/wms", title: "IMAGE", customParameters: { 'SERVICE': 'WMS', 'REQUEST': 'GetMap', 'BBOX': '109.37,18.03,111.03,19.64', 'WIDTH': '768', 'HEIGHT': '651', 'SRS': 'EPSG:4326', 'FORMAT': 'image/jpeg', 'VERSION': '1.1.1', 'STYLES': '', 'LAYERS': 'cite:test' } }); &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000"&gt;map.add(layer);​&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Any help would be highly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 11:58:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/xml-parse-error-when-adding-geoserver-wms-layer/m-p/1160683#M3632</guid>
      <dc:creator>MridulChandel</dc:creator>
      <dc:date>2022-04-04T11:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: XML parse error when adding Geoserver WMS layer</title>
      <link>https://community.esri.com/t5/arcmap-questions/xml-parse-error-when-adding-geoserver-wms-layer/m-p/1160718#M3634</link>
      <description>&lt;P&gt;Hello Mridul,&lt;/P&gt;&lt;P&gt;Are you the owner/admin of the GeoServer WMS layer?&amp;nbsp; If so, have you tried locating this image ID:&amp;nbsp;&lt;SPAN&gt;17ff30d84b3-layer-20 and deleting it?&amp;nbsp; Seems there is an error with that record.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 13:18:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/xml-parse-error-when-adding-geoserver-wms-layer/m-p/1160718#M3634</guid>
      <dc:creator>ABishop</dc:creator>
      <dc:date>2022-04-04T13:18:05Z</dc:date>
    </item>
  </channel>
</rss>

