<?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: Anyone have any luck with passing  a user name and password the the Poll an External Website for XML? in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/anyone-have-any-luck-with-passing-a-user-name-and/m-p/512542#M2277</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;The issue is, the server I am trying to access is 3rd party, and the only allowed logins have &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:a@domain.com"&gt;a@domain.com&lt;/A&gt;&lt;SPAN&gt; requirement from the company.&amp;nbsp; I am reaching out to the admin to see if I can get a login without @. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Apr 2015 16:31:26 GMT</pubDate>
    <dc:creator>JacobBoyle</dc:creator>
    <dc:date>2015-04-14T16:31:26Z</dc:date>
    <item>
      <title>Anyone have any luck with passing  a user name and password the the Poll an External Website for XML?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/anyone-have-any-luck-with-passing-a-user-name-and/m-p/512539#M2274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been trying to create a connection to an XML site that requires a user name and password.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The URL structure I've been attempting is:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://user@domain.com:password@app.site.com/feeds/assets.xml" rel="nofollow" target="_blank"&gt;https://user@domain.com:password@app.site.com/feeds/assets.xml&lt;/A&gt;&lt;A class="jive-link-email-small" href="mailto://user@domain.com"&gt;//user@domain.com&lt;/A&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:password@app.site.com"&gt;password@app.site.com&lt;/A&gt;&lt;SPAN&gt;/feeds/assets.xml&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This URL has worked when I use it in a browser, but GeoEvent is having issues with it.&amp;nbsp; Cs soon as it hits the first @ it reads the rest as the URL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Error creating the URL: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://user@domain.com:password@app.site.com/" rel="nofollow" target="_blank"&gt;https://user@domain.com:password@app.site.com/&lt;/A&gt;&lt;A class="jive-link-email-small" href="mailto://user@domain.com"&gt;//user@domain.com&lt;/A&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:password@app.site.com"&gt;password@app.site.com&lt;/A&gt;&lt;SPAN&gt;/ Error: Stream handler unavailable due to: For input string: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:password@app.site.com"&gt;password@app.site.com&lt;/A&gt;&lt;SPAN&gt;/".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using ArcGIS Server 10.3 and GeoEvent 10.3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 13:16:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/anyone-have-any-luck-with-passing-a-user-name-and/m-p/512539#M2274</guid>
      <dc:creator>JacobBoyle</dc:creator>
      <dc:date>2015-04-02T13:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have any luck with passing  a user name and password the the Poll an External Website for XML?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/anyone-have-any-luck-with-passing-a-user-name-and/m-p/512540#M2275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Hello Jacob -&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P&gt;You should be able to specify a URL parameter which includes embedded username and password credentials when configuring a &lt;STRONG&gt;&lt;EM&gt;Poll an External Website for XML&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt; inbound connector. However, you should be aware that doing poses a security risk, potentially exposing your credentials as the URL parameter is readable by anyone able to access your Server's REST endpoints ... specifically the GeoEvent endpoints on port 6180 (e.g. &lt;/SPAN&gt;&lt;A class="unlinked" rel="nofollow" target="_blank"&gt;http://MyServer.MyDomain:6180/geoevent/rest&lt;/A&gt;)&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;The better approach would be to configure a new inbound connector using the HTTP‑BasicAuthentication transport and XML adapter. The transport and adapter are both available out of the box. Configuring a new connector does not require any SDK development. From within GeoEvent Manager, navigate to &lt;STRONG&gt;Site &amp;gt; GeoEvent &amp;gt; Connectors&lt;/STRONG&gt; and click &lt;STRONG&gt;Create Connector&lt;/STRONG&gt;. In a separate tab/window you can click to open any of the existing connectors to see how they have been configured and use them as an example.&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;If you do decide to use the out-of-the-box &lt;EM&gt;&lt;STRONG&gt;Poll an External Website for XML&lt;/STRONG&gt;&lt;/EM&gt; inbound connector, you may find that you need to URL encode the credentials you are embedding in the connector’s URL property.&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The correct syntax, I believe, is &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;user&amp;gt;:&amp;lt;password&amp;gt;@app.site.com/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;So, for example, you would URL encode your string as follows:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;(Plain Text):&amp;nbsp; &lt;A class="unlinked" title="https://Jacob26:password123@app.site.com/feeds/assets.xml"&gt;https://Jacob26:password123@app.site.com/feeds/assets.xml&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;(URL Encoded):&amp;nbsp; https%3A%2F%2FJacob26%3Apassword123%40app.site.com%2Ffeeds%2Fassets.xml&lt;/LI&gt;&lt;/UL&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;I tend to use &lt;A href="http://meyerweb.com/eric/tools/dencoder/"&gt;http://meyerweb.com/eric/tools/dencoder/&lt;/A&gt; when I need to interactively encode / decode URL strings.&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P&gt;Looking at the examples you posted … you may also find that you need to drop the @domain.com suffix from the URL. I am less sure about this than recommending you URL encode the value however. It may be that if you URL encode the value then you’ll be able to specify the fully-qualified credentials:&amp;nbsp; &lt;CODE&gt;&lt;A class="jive-link-email-small" href="mailto:user@domain.com"&gt;user@domain.com&lt;/A&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:password@app.site.com"&gt;password@app.site.com&lt;/A&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Hope this information helps -&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;RJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 23:05:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/anyone-have-any-luck-with-passing-a-user-name-and/m-p/512540#M2275</guid>
      <dc:creator>RJSunderman</dc:creator>
      <dc:date>2015-04-13T23:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have any luck with passing  a user name and password the the Poll an External Website for XML?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/anyone-have-any-luck-with-passing-a-user-name-and/m-p/512541#M2276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jacob, we have had success polling an external website for JSON, see screenshot below for a configuration sample setup in GeoEvent 10.2.2-&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sample.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/85093_Sample.png" style="width: 620px; height: 551px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 15:10:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/anyone-have-any-luck-with-passing-a-user-name-and/m-p/512541#M2276</guid>
      <dc:creator>KDeVogelaere</dc:creator>
      <dc:date>2015-04-14T15:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have any luck with passing  a user name and password the the Poll an External Website for XML?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/anyone-have-any-luck-with-passing-a-user-name-and/m-p/512542#M2277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;The issue is, the server I am trying to access is 3rd party, and the only allowed logins have &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:a@domain.com"&gt;a@domain.com&lt;/A&gt;&lt;SPAN&gt; requirement from the company.&amp;nbsp; I am reaching out to the admin to see if I can get a login without @. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 16:31:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/anyone-have-any-luck-with-passing-a-user-name-and/m-p/512542#M2277</guid>
      <dc:creator>JacobBoyle</dc:creator>
      <dc:date>2015-04-14T16:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have any luck with passing  a user name and password the the Poll an External Website for XML?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/anyone-have-any-luck-with-passing-a-user-name-and/m-p/512543#M2278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, all&lt;/P&gt;&lt;P&gt;I have tried this same method with 10.5.1 version but I am not able to access data. please help how to use url with basic authentication with geoevent manager.&lt;/P&gt;&lt;P&gt;have a look how i have given my service.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/422277_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/422276_pastedImage_1.png" /&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 07:20:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/anyone-have-any-luck-with-passing-a-user-name-and/m-p/512543#M2278</guid>
      <dc:creator>DikshaBandil1</dc:creator>
      <dc:date>2018-09-18T07:20:10Z</dc:date>
    </item>
  </channel>
</rss>

