Organization Service

The other service reference necessary for a custom application is the Organization Service.

http://<servername>:<portnumber>/XRMServices/2011/Organization.svc?wsdl

For example:

http://crmwoifd/XRMServices/2011/Organization.svc?wsdl

Adding a Service Reference

To add a service reference for this service, go to Visual Studio 2012. Then, using the new console application project you created, right-click the project name in the Solution Explorer and choose Add Service Reference from the menu. Enter the URL of the Organization Service, click Go, and then enter XrmSdk in the Namespace field (see Figure 24.5).

FIGURE 24.5 Adding a service reference for the Organization ...

Get Microsoft Dynamics CRM 2013 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.