CRM 2011 Online Plugin calling Authenticated Web Services
Richard
March 09, 2011
CRM 2011
Comments Off on CRM 2011 Online Plugin calling Authenticated Web Services
Tags: plugin, sandbox, web service, webrequest
The ability to calls external web resources (sites and services) from within a CRM 2011 online plugin (running in the sandbox) is a major piece of integration kit. The fact that the ability to do it in practice has been up in the air during the CRM 2011beta phase has been a bit of a worry.
The code snippet below (from a CRM Online plugin) allows me to succesfully connect to a remote web service requiring Basic/API Realm credentials.