Hi,
I have been trying to call the WFGEN web service (e.g. CanCancelProcessInstance) from a .NET Core application (WorkflowGen APIs as Connected Service). On Localhost, it works fine. However, when deployed on the test server, the same call returns the following message:
“System.Web.Services.Protocols.SoapException: The connected user cannot be set as inactive or be archived to access the web services.
at Advantys.Workflow.Web.Services.WebServiceController.()
at Advantys.Workflow.Web.Services.Processes.Runtime.RuntimeService.CanCancelProcessInstance(Int32 processInstanceId, Boolean isSuperUserMode)”
Notes:
- Please note that I’m using BasicHttpSecurityMode.TransportCredentialOnly for BasicHttpBinding. And, I am passing the username and password for wfGenClient.ClientCredentials.Windows.ClientCredential. Here, basicHttpBinding.Security.Transport.ClientCredentialType has been set to HttpClientCredentialType.Ntlm. Please note that wfGenClient refers to WFGEN_APIs.RuntimeServiceSoapClient.
- The user has an administrator role and is active. The user has also been added to the web.config as ProcessesRuntimeWebServiceAllowedUsers and ApplicationConfigAllowedUsersLogin.
- EndPoint: http://[SERVER]/wfgen/ws/processesruntime.asmx
HTTPS: I tried to use BasicHttpsSecurityMode.Transport for BasicHttpsBinding as well and it returns the same message. However, can you please guide me to any resource that can help me set up for HTTPS as well (https://[SERVER]/wfgen/ws/processesruntime.asmx)?
Furthermore, will GraphQL integration be easier/more efficient in this scenario?
Thanks a lot in advance.
Kind regards,
TKS