The provided URI scheme 'https' is invalid; expected 'http' when calling web service

前端 未结 1 665
梦毁少年i
梦毁少年i 2020-12-18 22:00

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

相关标签:
1条回答
  • 2020-12-18 22:04

    As per the documentation for BasicHttpSecurityMode, TransportCredentialOnly may only be used with HTTP. For HTTPS you must use either Transport or TransportWithMessageCredential.

    0 讨论(0)
提交回复
热议问题