<?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 Problems calling a secured locator service from a workflow in ArcGIS for SharePoint Questions</title>
    <link>https://community.esri.com/t5/arcgis-for-sharepoint-questions/problems-calling-a-secured-locator-service-from-a/m-p/690260#M1833</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Recently we created our own locator service on ArcGIS server and it works fine when I run it directly in a web browser. Note: our AGS server has security enabled, and the Windows authentication is obviously working fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BUT, when I try to call that home-built locator service from a &lt;/SPAN&gt;&lt;STRONG&gt;Geocoding workflow&lt;/STRONG&gt;&lt;SPAN&gt; in SharePoint I get this error: "Your WorkFlow failed: The remote server returned an error: (401) Unauthorized.. System.Net.WebException: The remote server returned an error: (401) Unauthorized"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I use the &lt;/SPAN&gt;&lt;STRONG&gt;ESRI North America&lt;/STRONG&gt;&lt;SPAN&gt; address locator service in the browser, I do NOT see any of the 401 challenge/response in the Fiddler logs. It just simply does a 200 post/get and it all works fine. The ESRI NA locator service is obviously unsecured and it works great in SharePoint too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did some reading online and the it appears that all SharePoint workflows run as the SHAREPOINT/system account, and NOT as the logged in user. That is probably why I cannot use the secured service. Does anyone have tips for how to call a secured service from SharePoint?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, --Rick&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jun 2011 15:53:28 GMT</pubDate>
    <dc:creator>RickThiel</dc:creator>
    <dc:date>2011-06-07T15:53:28Z</dc:date>
    <item>
      <title>Problems calling a secured locator service from a workflow</title>
      <link>https://community.esri.com/t5/arcgis-for-sharepoint-questions/problems-calling-a-secured-locator-service-from-a/m-p/690260#M1833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Recently we created our own locator service on ArcGIS server and it works fine when I run it directly in a web browser. Note: our AGS server has security enabled, and the Windows authentication is obviously working fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BUT, when I try to call that home-built locator service from a &lt;/SPAN&gt;&lt;STRONG&gt;Geocoding workflow&lt;/STRONG&gt;&lt;SPAN&gt; in SharePoint I get this error: "Your WorkFlow failed: The remote server returned an error: (401) Unauthorized.. System.Net.WebException: The remote server returned an error: (401) Unauthorized"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I use the &lt;/SPAN&gt;&lt;STRONG&gt;ESRI North America&lt;/STRONG&gt;&lt;SPAN&gt; address locator service in the browser, I do NOT see any of the 401 challenge/response in the Fiddler logs. It just simply does a 200 post/get and it all works fine. The ESRI NA locator service is obviously unsecured and it works great in SharePoint too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did some reading online and the it appears that all SharePoint workflows run as the SHAREPOINT/system account, and NOT as the logged in user. That is probably why I cannot use the secured service. Does anyone have tips for how to call a secured service from SharePoint?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, --Rick&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 15:53:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-sharepoint-questions/problems-calling-a-secured-locator-service-from-a/m-p/690260#M1833</guid>
      <dc:creator>RickThiel</dc:creator>
      <dc:date>2011-06-07T15:53:28Z</dc:date>
    </item>
  </channel>
</rss>

