Organization Service

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

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

For example:

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

Adding a Service Reference

To add a service reference for this service, go to Visual Studio 2010 and 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 CrmSdk in the namespace text box (see Figure 26.5).

Figure 26.5 Adding a service reference for the Organization service.

Click OK to finally add the service reference ...

Get Microsoft Dynamics CRM 2011 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.