Posts

Showing posts from October, 2017

Steps to Call WEB service with JSON Payload from SharePoint Workflow:

I have a request from client for calling JSON Ideas :  1.  Call HTTP from Sharepoint Workflow to Get and Post data from a SOAP web API. 2. Create a an event Listner to call each time item create or update methods. 3.  Add an adaptor layer on top of the SOAP service which converts the SOAP response to a JSON response which is returned via the REST interface. Steps to Call WEBservice with JSON Payload from Sharepoint Workflow: 1. Build the JSON payload in workflow. Sharepoint 2013 has new functionality of Build Dictionary which will store a dictionary value which are basically the json objects building for sending to the WSDL. 2. We need to build a WEB API with the service references to the SOAP WSDLs and instantiate the members of the SOAP service reference. We need to instantiate the ServiceManagerClient which gets created when we add a WSDL as service reference. 3. We also need a MVC project with WebAPI in Visual studio. 4. Now we need the call http action in Workflow t