September 2011
Intermediate to advanced
1008 pages
24h 27m
English
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
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 ...