<?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 Batch Geocoding online using credits in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/batch-geocoding-online-using-credits/m-p/502884#M2551</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've a question on how to use my credits from AcrGis Developer Account for WPF batch geocoding online task. I have tried these two way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) I followed the guide explained on this link:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r300000268000000"&gt;http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r300000268000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then I followed the api example provided by sdk "batch geocoding online".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've used the token in this way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;public void AddressesToLocationsAsync(IList&amp;lt;IDictionary&amp;lt;string, string&amp;gt;&amp;gt; Addresses, SpatialReference OutSpatialReference, object UserToken = null);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but the method returns an exception "Token required but not passed in the request."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Probably becasue this way is only for web-based/rest request?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) I used the IdentityManager and registered the "Challenge" method to automatically&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;provide the developer account credential. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;IdentityManager.Current.ChallengeMethodEx = SignInDialog.DoSignInEx;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The result is that the credential provided were incorrect and the popup window continue to appear.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the right way to "batch geocoding online" (providing credential by hard-code) from WPF application using Developers account credits ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Apr 2014 08:11:15 GMT</pubDate>
    <dc:creator>andrealeone</dc:creator>
    <dc:date>2014-04-10T08:11:15Z</dc:date>
    <item>
      <title>Batch Geocoding online using credits</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/batch-geocoding-online-using-credits/m-p/502884#M2551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've a question on how to use my credits from AcrGis Developer Account for WPF batch geocoding online task. I have tried these two way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) I followed the guide explained on this link:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r300000268000000"&gt;http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r300000268000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then I followed the api example provided by sdk "batch geocoding online".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've used the token in this way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;public void AddressesToLocationsAsync(IList&amp;lt;IDictionary&amp;lt;string, string&amp;gt;&amp;gt; Addresses, SpatialReference OutSpatialReference, object UserToken = null);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but the method returns an exception "Token required but not passed in the request."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Probably becasue this way is only for web-based/rest request?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) I used the IdentityManager and registered the "Challenge" method to automatically&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;provide the developer account credential. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;IdentityManager.Current.ChallengeMethodEx = SignInDialog.DoSignInEx;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The result is that the credential provided were incorrect and the popup window continue to appear.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the right way to "batch geocoding online" (providing credential by hard-code) from WPF application using Developers account credits ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 08:11:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/batch-geocoding-online-using-credits/m-p/502884#M2551</guid>
      <dc:creator>andrealeone</dc:creator>
      <dc:date>2014-04-10T08:11:15Z</dc:date>
    </item>
  </channel>
</rss>

