Quantcast
Channel: Workflow Manager 1.0 forum
Viewing all articles
Browse latest Browse all 897

HttpSend to call custom wcf service

$
0
0

Hi,

I've developed a workflow in Visual Studio and that is invoking a custom WCF service that I've developed.  But the workflow gets '401 Unauthorized' while try to access the cusom service. I've used a network monitor to find out the details. However the workflow can access the SharePoint contents using out of the box REST API.

After investigating the http traffic, I've found while the workflow is calling REST API, the http header 'authorization' has access-token filled automatically. However while my custom workflow is invoked by workflow, the authorization header is just 'Bearer', so access-token is missing. Is there any way I can access the token in workflow and pass it in header to call my custom wcf server? Or is there any suggestion on how to call custom wcf service from sharepoint workflow 2013?


Thanks,
Sohel Rana
http://ranaictiu-technicalblog.blogspot.com



Viewing all articles
Browse latest Browse all 897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>