I am trying to call a SharePoint web service from a CRM workflow using custom C# code. However when I run my code, I get the following error:
The provided URI
As per the documentation for BasicHttpSecurityMode, TransportCredentialOnly may only be used with HTTP. For HTTPS you must use either Transport or TransportWithMessageCredential.
TransportCredentialOnly
Transport
TransportWithMessageCredential