Option 1:- Exposing Web Service Using Blue Prism. Please check the following Steps:
1) Create the Proxy class using command line and paste those code in Business Properties Global Code.
2) Go to Initialization page Business Properties Code Options Import .dll using System.Net;
3) Take a new Code Box In Initialization Page Code Tab Apply Following Code as below e.g.
CalculatorService mWebService = new CalculatorService(Url)
NetworkCredential myCredentials = new NetworkCredential(""admin"", ""Admin123"");
mWebService.Credentials = myCredentials;
Option 2:- Exposing Web Service using visual studio. Please check the following Steps:
1) Create Proxy class using Visual studio and apply the following code snippet
CalculatorServices.CalculatorService client = new CalculatorServices.CalculatorService();
//The below credential is required to login Blue Prism
NetworkCredential myCredentials = new NetworkCredential(""admin"", ""Admin123"");
client.Credentials = myCredentials;
string SessionID = client.Initialise();
Response.Write(""Initialised"");
client.Calculator(SessionID);
client.CleanUp(SessionID);
Thanks,
Rajiv