<?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: Receive XML on a REST Endpoint  Testing in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/receive-xml-on-a-rest-endpoint-testing/m-p/1642184#M4335</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/140376"&gt;@JeffSilberberg&lt;/a&gt;&amp;nbsp; &amp;nbsp;Thank you for seeing my poor formatting.&amp;nbsp; &amp;nbsp;I think you are on to something for sure as know I can see the file getting passed through the connector.&amp;nbsp; &amp;nbsp; I think I still need to fix a few things and will try the suggestion of written it to a text file to see if I am missing something else in the format.&amp;nbsp; &amp;nbsp;Thanks again!&lt;/P&gt;</description>
    <pubDate>Thu, 14 Aug 2025 22:29:01 GMT</pubDate>
    <dc:creator>MeleKoneya</dc:creator>
    <dc:date>2025-08-14T22:29:01Z</dc:date>
    <item>
      <title>Receive XML on a REST Endpoint  Testing</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/receive-xml-on-a-rest-endpoint-testing/m-p/1641769#M4333</link>
      <description>&lt;P&gt;I have crated an&amp;nbsp;&lt;SPAN&gt;Receive XML on a REST Endpoint connector and am trying to get an XML file to process in the service below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MeleKoneya_0-1755116907785.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/138493i8B1723DEDE02EFA2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MeleKoneya_0-1755116907785.png" alt="MeleKoneya_0-1755116907785.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MeleKoneya_1-1755116990989.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/138494i61F64C2B602D4D49/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MeleKoneya_1-1755116990989.png" alt="MeleKoneya_1-1755116990989.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I sending an XML via Python to see if anything comes through but have not seen it working as there is nothing in in/out and sample route shows nothing.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how I am sending the XML with python in ArcGIS Pro&lt;/P&gt;&lt;P&gt;# GeoEvent Server details&lt;BR /&gt;geoevent_server_url = "&lt;A href="https://ourserver:6143" target="_blank"&gt;https://ourserver:6143&lt;/A&gt;" # Replace with your server URL&lt;BR /&gt;input_connector_name = "SFD_ipad_XML" # Replace with your input connector name&lt;BR /&gt;receiver_url = f"{geoevent_server_url}/geoevent/rest/receiver/{input_connector_name}"&lt;/P&gt;&lt;P&gt;# XML data to send&lt;BR /&gt;xml_data = """&lt;BR /&gt;&amp;lt;&amp;lt;location data&amp;gt;&lt;BR /&gt;&amp;lt;latitude&amp;gt;[33.49419124478499]&amp;lt;/latitude&amp;gt;&lt;BR /&gt;&amp;lt;longitude&amp;gt;[-111.8995224018715]&amp;lt;/longitude&amp;gt;&lt;BR /&gt;&amp;lt;date&amp;gt;[Jul 25, 2025 at 2:30 PM]&amp;lt;/date&amp;gt;&lt;BR /&gt;&amp;lt;device_id&amp;gt;[EPCRM365_191 (APIPAD00096)]&amp;lt;/device_id&amp;gt;&lt;BR /&gt;&amp;lt;/location data&amp;gt;&lt;BR /&gt;"""&lt;/P&gt;&lt;P&gt;# Set the headers for the request&lt;BR /&gt;headers = {&lt;BR /&gt;"Content-Type": "application/xml"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;try:&lt;BR /&gt;# Send the POST request&lt;BR /&gt;response = requests.post(receiver_url, data=xml_data, headers=headers, verify=False) # verify=False for self-signed certs&lt;/P&gt;&lt;P&gt;# Check the response status&lt;BR /&gt;if response.status_code == 200:&lt;BR /&gt;print("XML data successfully sent to GeoEvent Server.")&lt;BR /&gt;else:&lt;BR /&gt;print(f"Error sending XML data. Status code: {response.status_code}")&lt;BR /&gt;print(f"Response content: {response.text}")&lt;/P&gt;&lt;P&gt;except requests.exceptions.RequestException as e:&lt;BR /&gt;print(f"An error occurred: {e}")&lt;BR /&gt;XML data successfully sent to GeoEvent Server.&lt;/P&gt;&lt;P&gt;This is my first attempt at using this connector, so I may be missing something obvious.&amp;nbsp; &amp;nbsp;Thank you for any assistance.&lt;/P&gt;&lt;P&gt;Mele&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 20:33:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/receive-xml-on-a-rest-endpoint-testing/m-p/1641769#M4333</guid>
      <dc:creator>MeleKoneya</dc:creator>
      <dc:date>2025-08-13T20:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Receive XML on a REST Endpoint  Testing</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/receive-xml-on-a-rest-endpoint-testing/m-p/1641861#M4334</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/6782"&gt;@MeleKoneya&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At least two things look suspicious in your XML Data block -&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are two &amp;lt;&amp;lt; opening brackets instead of one.&amp;nbsp; Shouldn't it be &amp;lt;&lt;SPAN&gt;location data&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, you enclosed the Lat &amp;amp; lon data in Square Brackets, which is not standard XML..&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Check your Logs, and maybe add a temporary output to a text file, that you can then open and see if your XML document made it all the way in.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2025 02:42:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/receive-xml-on-a-rest-endpoint-testing/m-p/1641861#M4334</guid>
      <dc:creator>JeffSilberberg</dc:creator>
      <dc:date>2025-08-14T02:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Receive XML on a REST Endpoint  Testing</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/receive-xml-on-a-rest-endpoint-testing/m-p/1642184#M4335</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/140376"&gt;@JeffSilberberg&lt;/a&gt;&amp;nbsp; &amp;nbsp;Thank you for seeing my poor formatting.&amp;nbsp; &amp;nbsp;I think you are on to something for sure as know I can see the file getting passed through the connector.&amp;nbsp; &amp;nbsp; I think I still need to fix a few things and will try the suggestion of written it to a text file to see if I am missing something else in the format.&amp;nbsp; &amp;nbsp;Thanks again!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2025 22:29:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/receive-xml-on-a-rest-endpoint-testing/m-p/1642184#M4335</guid>
      <dc:creator>MeleKoneya</dc:creator>
      <dc:date>2025-08-14T22:29:01Z</dc:date>
    </item>
  </channel>
</rss>

