SOAP Interfaces
To call the Microsoft CRM APIs, you must go through the corresponding SOAP interface. Each object in the platform has a SOAP interface. These interfaces are located in the following path on the Microsoft CRM server:
https://<server name>/mscrmservices/<objectname>.srf
The following code snippet shows how to set up for a SOAP call to the Account object:
// server should be set with the name of the platform Web server
String server = "YourServerName";
// virtualDirectory should be set with the name of the Microsoft CRM
// virtual directory on the platform Web server
String virtualDirectory = "mscrmservices";
String strDir = String.Concat("https://", server, "/",
virtualDirectory, "/");
// Account proxy object
Microsoft.Crm.Platform.Proxy.CRMAccount account
= new Microsoft.Crm.Platform.Proxy.CRMAccount();
account.Credentials = System.Net.CredentialCache.DefaultCredentials;
account.Url = String.Concat(strDir, "CRMAccount.srf");
The How To section contains detailed examples of using these SOAP interfaces.
For more information about using SOAP interfaces, refer to the Soap reference page on MSDN (msdn.microsoft.com/library/default.asp?url=/nhp/Default.asp?contentid=28000523).