Discovery Web Service
As explained previously, Microsoft CRM 2013 has multitenancy capability, which is support for more than one organization on the same server. Because of that, you need to query a general web service called XRMDiscoveryService that will give you the right web service for the organization you want to work with. You can find this by navigating to http://<servername>:<portnumber>/XRMServices/2011/Discovery.svc?wsdl (for example, http://crmwoifd/XRMServices/2011/Discovery.svc?wsdl).
Note
The port number can be omitted for the default port 80 of HTTP in this example.
To add a web reference for this service, go to Visual Studio 2012 and use the new console application project you created. Right-click the project name in the Solution ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access