Hi Folks,
In the several days, i'm having some headaches related with consuming an external webservice from a crm 2011 online plugin.
The main issue is that the sandbox where the plugin is registered is not allowing me to consume that webservice, launching the following error:
[Request for the permission of type 'System.Net.WebPermission, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
There are manner to bypass the verification of the certificate before calling the webservice method on crm 2011 online? like this:
ServicePointManager.ServerCertificateValidationCallback = ((sen, certificate, chain, sslPolicyErrors) => true);
Or how can i call an external webservice ssl from CMR 2011 online?