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:
// 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 = "https://" + Server + "/" + VirtualDirectory + "/";
// Account proxy object
Microsoft.CRM.Proxy.CRMAccount oAccount = new Microsoft.CRM.Proxy.CRMAccount ();
oAccount.Credentials = System.Net.CredentialCache.DefaultCredentials;
oAccount.Url = 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).