<?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: OGC WMS WFS getCapabalities XML from api in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/ogc-wms-wfs-getcapabalities-xml-from-api/m-p/1266461#M8482</link>
    <description>&lt;P&gt;Found a solution with requests without giving any headers or token in GIS.exchange. here is the link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://gis.stackexchange.com/questions/123630/xml-elementtree-in-arcpy-consuming-wmts-xml" target="_blank"&gt;https://gis.stackexchange.com/questions/123630/xml-elementtree-in-arcpy-consuming-wmts-xml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Mar 2023 15:53:34 GMT</pubDate>
    <dc:creator>NicolasRojas</dc:creator>
    <dc:date>2023-03-10T15:53:34Z</dc:date>
    <item>
      <title>OGC WMS WFS getCapabalities XML from api</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/ogc-wms-wfs-getcapabalities-xml-from-api/m-p/1266430#M8481</link>
      <description>&lt;P&gt;I am trying to modify various XML files corresponding to an OGC service capability such as WFS or WMS.&lt;/P&gt;&lt;P&gt;My script publishes an SD file onto a non federated server that I connect to using the Server class from arcgis.gis.server.&lt;/P&gt;&lt;P&gt;My goal is to manipulate various XML versions with python from within my script but &lt;STRONG&gt;I can't get them&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;The ArcGIS server doc (&lt;A href="https://enterprise.arcgis.com/en/server/latest/publish-services/windows/available-wms-service-properties.htm#ESRI_SECTION1_4DDC3A0DADF2495D841A02AE0725670D" target="_blank" rel="noopener"&gt;https://enterprise.arcgis.com/en/server/latest/publish-services/windows/available-wms-service-properties.htm#ESRI_SECTION1_4DDC3A0DADF2495D841A02AE0725670D&lt;/A&gt;&amp;nbsp; ===&amp;gt; Create external capabilities files) discribes the workflow I'm trying to implement in python.&lt;/P&gt;&lt;P&gt;&lt;U&gt;Q1:&lt;/U&gt; Is there a way to retrieve the XML from the service class?&lt;/P&gt;&lt;P&gt;&lt;U&gt;Q2:&lt;/U&gt; If not, how would I go about getting the XML with python?&lt;/P&gt;&lt;P data-unlink="true"&gt;My issue is the get request to the capability:&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px" data-unlink="true"&gt;&lt;SPAN&gt;https://gisserver.domain.com:6443/arcgis/services/folder/service/service_&amp;nbsp;type/WMSServer/&amp;nbsp;&lt;SPAN class=""&gt;?service=wms&amp;amp;request=GetCapabilities&amp;amp;version=1.0.0 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;returns an error because I'm missing headers in the request.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Any tips are highly appreciated!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 15:06:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/ogc-wms-wfs-getcapabalities-xml-from-api/m-p/1266430#M8481</guid>
      <dc:creator>NicolasRojas</dc:creator>
      <dc:date>2023-03-10T15:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: OGC WMS WFS getCapabalities XML from api</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/ogc-wms-wfs-getcapabalities-xml-from-api/m-p/1266461#M8482</link>
      <description>&lt;P&gt;Found a solution with requests without giving any headers or token in GIS.exchange. here is the link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://gis.stackexchange.com/questions/123630/xml-elementtree-in-arcpy-consuming-wmts-xml" target="_blank"&gt;https://gis.stackexchange.com/questions/123630/xml-elementtree-in-arcpy-consuming-wmts-xml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 15:53:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/ogc-wms-wfs-getcapabalities-xml-from-api/m-p/1266461#M8482</guid>
      <dc:creator>NicolasRojas</dc:creator>
      <dc:date>2023-03-10T15:53:34Z</dc:date>
    </item>
  </channel>
</rss>

