Hi, I have list workflow where i'm trying to get data from other list. list workflow located in site A, list which i'm trying to call located in site B, both sites located in the same site collection. I have access for both sites and can call next REST quesry from browser and get response http://rupappsps01/sites/edms/commercial/_api/web/lists/getbytitle('Commercial%20Team%20responsibilities')/items?$select=Client the same query I can execute from Fiddler and get Json format for response.
But, if i'm trying to get data from workflow using Call http web service i'm receiving Unauthorized in ResponseStatusCode
and next data in Response content - {"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"ru-RU","value":"Access denied.You do not havepermission to perform thisactionoraccess this resource."}}}
It's very similar to this bug - http://office.microsoft.com/en-001/help/sharepoint-server-2013-known-issues-HA102919021.aspxCalling HTTP web service fails when calling non-SharePoint HTTP (REST) web service from SharePoint workflow
When a workflow developer writes a workflow that calls non-SharePoint HTTP (REST) web service from SharePoint workflow, “Authorization: Bearer” is added to HTTP header by default, which may sometimes result in “401 Unauthorized" error response.
Workaround A workflow developer explicitly needs to have “Authorization” field set with empty string (“”) in a “RequestHeader” property of “Call HTTP Web Service” action. This will result in suppressing the bearer authorization header for this HTTP request.
I'm tried to add Authorization field to RequestHeaders, but it's didn't change anything. AppStep is also didn't change situation?
Any suggestion very appreciated.