Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 87499

Call an External Webservice from within plugin CRM 2011 online

$
0
0

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?

 


Viewing all articles
Browse latest Browse all 87499

Trending Articles



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