Quantcast
Channel: Microsoft Dynamics CRM
Viewing all articles
Browse latest Browse all 137182

Forum Post: Hi All, I am calling soap service using plugin in Dynamics 365. I am using below code for calling ---SOAP HTTPS---- service but i am getting "The provided URI scheme 'https' is invalid; expected 'http'.".

$
0
0
#region Calling WCF Service var myBinding = new WSHttpBinding(SecurityMode.None); myBinding.MaxReceivedMessageSize = 2147483647; myBinding.MaxBufferPoolSize = 2147483647; myBinding.SendTimeout = TimeSpan.FromMinutes(3); myBinding.ReceiveTimeout = TimeSpan.FromMinutes(3); myBinding.OpenTimeout = TimeSpan.FromMinutes(3); myBinding.CloseTimeout = TimeSpan.FromMinutes(3); myBinding.Security.Transport.ClientCredentialType = HttpClientCredentialType.None; myBinding.Security.Message.EstablishSecurityContext = false; myBinding.Security.Transport.ProxyCredentialType = HttpProxyCredentialType.None; EndpointAddress endPointAddress = new EndpointAddress(" xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.svc "); ChannelFactory factory = new ChannelFactory (myBinding, endPointAddress); ICustSupportService channel = factory.CreateChannel();

Viewing all articles
Browse latest Browse all 137182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>