I am using Nintex webservice in an asp.net application. I am able to successfully start and terminate the workflows. But I am having an issue when I try to approve a Flexi Task from code. I know the issue is with the Authentication. Please find the below code for reference. I tried using the admin credentials as well, but no luck.
NintexApprovalService.ProcessTaskResponseResult? ob = null;
string taskList = taskListName;
NintexApprovalService.NintexWorkflowWS obj = new NintexApprovalService.NintexWorkflowWS();
obj.UseDefaultCredentials = true;
obj.Credentials = cr;
ob = obj.ProcessFlexiTaskResponse2(approvalComments, Approvaloutcome, TaskId, taskList);
Could you able to assist me to fix this issue.