<?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: Help-Poll an External Website for XML  in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/help-poll-an-external-website-for-xml/m-p/559005#M2466</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Earl,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right, I am able to see input and output counts rise but I could not see a value&amp;nbsp;inside of my files. (&amp;nbsp;you can see my output .jpeg what I&amp;nbsp;mean ) and also I try XML object name but it does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Mar 2019 15:46:47 GMT</pubDate>
    <dc:creator>HaticeKorkulu2</dc:creator>
    <dc:date>2019-03-27T15:46:47Z</dc:date>
    <item>
      <title>Help-Poll an External Website for XML</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/help-poll-an-external-website-for-xml/m-p/559003#M2464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am trying Geoevent input connector which is Poll an External Website for XML. I created an output like “Write output CSV file” and “Write to a JSON File”.&lt;/P&gt;&lt;P&gt;This is my XML service link &lt;A href="http://85.105.43.165:8080/rest/p_operation=get&amp;amp;p_username=admin&amp;amp;p_password=admin&amp;amp;p_context=users.admin.models.pscmod&amp;amp;p_variable=sensorall"&gt;http://85.105.43.165:8080/rest/p_operation=get&amp;amp;p_username=admin&amp;amp;p_password=admin&amp;amp;p_context=users.admin.models.pscmod&amp;amp;p_variable=sensorall&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;When I tried to get data, I have no problem and I can access from Geoevent server. The problem is that I could not get value. My all fields are null where you can see below in .json file and there is no value just a field separator(,) in my .csv file. Do you have any idea? What am I missing? or Is not my service suitable for Geoevent? &lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 07:04:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/help-poll-an-external-website-for-xml/m-p/559003#M2464</guid>
      <dc:creator>HaticeKorkulu2</dc:creator>
      <dc:date>2019-03-27T07:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help-Poll an External Website for XML</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/help-poll-an-external-website-for-xml/m-p/559004#M2465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there Hatice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understand you correctly, you're able to see the Input counts rise but the output is the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if perhaps you need to refine the connector to use&amp;nbsp;&lt;EM&gt;records&lt;/EM&gt; or &lt;EM&gt;record&lt;/EM&gt; as an XML Object name. To set that, you'd go to the Input properties &amp;gt; Advanced - there you will find the field &lt;SPAN style="color: #505051; font-family: Verdana, Geneva, sans-serif; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;XML Object Name.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none; color: #000000;"&gt;-Earl&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 15:00:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/help-poll-an-external-website-for-xml/m-p/559004#M2465</guid>
      <dc:creator>EarlMedina</dc:creator>
      <dc:date>2019-03-27T15:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help-Poll an External Website for XML</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/help-poll-an-external-website-for-xml/m-p/559005#M2466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Earl,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right, I am able to see input and output counts rise but I could not see a value&amp;nbsp;inside of my files. (&amp;nbsp;you can see my output .jpeg what I&amp;nbsp;mean ) and also I try XML object name but it does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 15:46:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/help-poll-an-external-website-for-xml/m-p/559005#M2466</guid>
      <dc:creator>HaticeKorkulu2</dc:creator>
      <dc:date>2019-03-27T15:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help-Poll an External Website for XML</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/help-poll-an-external-website-for-xml/m-p/559006#M2467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/358617"&gt;Hatice Korkulu&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I took a look at your XML and ran a few internal tests. In each attempt, I was met with the inability to parse the XML past the point of the "records" element. Because it is nested AND makes the field names a property of the&amp;nbsp;&lt;EM&gt;value&lt;/EM&gt; tag, it becomes difficult for Geoevent to read the relevant values. Another staff member also took a look and they suggested that using a field mapper may work to flatten the nested XML structure, but even so, Geoevent does not recognize anything past the first "uid" field. Presumably, this is because the names of each field are all properties of the tag and not tags themselves.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In short, the structure of this XML does not seem to be compatible with GeoEvent. If it is at all in the realm of possibility to get the data reformatted, like the example below, then GeoEvent should not have an issues with it. Otherwise, we may be at an impasse here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="; color: #000000; font-size: 13px;"&gt;&lt;STRONG&gt;&amp;lt;records&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="; color: #000000; font-size: 13px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;uid&amp;gt;###&amp;lt;/uid&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="; color: #000000; font-size: 13px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;tstres&amp;gt;###&amp;lt;/tstres&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="; color: #000000; font-size: 13px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;temperature&amp;gt;###&amp;lt;/temperature&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="; color: #000000; font-size: 13px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;humidity&amp;gt;###&amp;lt;/humidity&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="; color: #000000; font-size: 13px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;shumidity&amp;gt;###&amp;lt;/shumidity&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="; color: #000000; font-size: 13px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;Lati&amp;gt;###&amp;lt;/Lati&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="; color: #000000; font-size: 13px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;long&amp;gt;###&amp;lt;/long&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="; color: #000000; font-size: 13px;"&gt;&lt;STRONG&gt;&amp;lt;/records&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2019 16:10:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/help-poll-an-external-website-for-xml/m-p/559006#M2467</guid>
      <dc:creator>DanielCota1</dc:creator>
      <dc:date>2019-04-16T16:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help-Poll an External Website for XML</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/help-poll-an-external-website-for-xml/m-p/559007#M2468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having similar issues to Hatice, and I am curious if you think that my XML structure is also to blame. It also includes a value as apart of the attributes name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My input XML&amp;nbsp;is structured like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Placemark&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;ExtendedData xmlns:data="eventdata"&amp;gt; &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;data:deviceID&amp;gt;262&amp;lt;/data:deviceID&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;data:speedKPH&amp;gt;0.0&amp;lt;/data:speedKPH&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/ExtendedData&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;Point&amp;gt; &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;coordinates&amp;gt;...&amp;lt;/coordinates&amp;gt; &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/Point&amp;gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;/Placemark&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And every time I poll, even if I set ExtendedData to be my root object which flattens the Definition, all my outputs for ExtendData are null, but for my Point group the output&amp;nbsp;works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, that confusing part is that if I turn on "Learning Mode" it polls a single event and just one event, and everything for that one event is filled in properly. Do you know why this could be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I figured out&amp;nbsp;my problem. The GeoEvent auto-generated definitions were not including the xml name space of those attributes, in this case, it is: data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By changing all of the attributes to include the namespace, like &lt;STRONG&gt;deviceID&lt;/STRONG&gt; to&amp;nbsp;&lt;STRONG&gt;data:deviceID&lt;/STRONG&gt;, it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to this blog for pointing out that you manually have to specify your namespaces in the definitions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/community/gis/enterprise-gis/geoevent/blog/2019/06/12/working-with-xml-data-structures-and-polling-wfs-services-in-arcgis-geoevent-server"&gt;https://community.esri.com/community/gis/enterprise-gis/geoevent/blog/2019/06/12/working-with-xml-data-structures-and-polling-wfs-services-in-arcgis-geoevent-server&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still unsure why in Learning Mode it was able to read them, but never the less it is working now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2019 23:16:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/help-poll-an-external-website-for-xml/m-p/559007#M2468</guid>
      <dc:creator>NathanKoski</dc:creator>
      <dc:date>2019-07-22T23:16:12Z</dc:date>
    </item>
  </channel>
</rss>

