Random Musings

June 25, 2009

How to: Add the CrmService Web Reference

Filed under: Dynamics CRM — haditeo @ 9:29 pm
Tags: ,

I seldom use CRM Service proxy Web Reference and i almost forgot that there is a difference in invoking the web service between CRM 3.0 and CRM 4.0

Here is the CRM 3.0 way:

http://<your server name>/mscrmservices/2006/crmservice.asmx

and here is the CRM 4.0 way:

http://<servername[:port]>/mscrmservices/2007/crmservice.asmx?WSDL&uniquename=organizationName

No wonder when i invoke using below code, i still can obtain the CrmService, but i cannot find any proxy entities there

http://<your server name>/mscrmservices/2007/crmservice.asmx

After i using the correct way, i can refer to the CRM entities through intellisense as usual
class_account

intellisense

I forgot that in the CRM 4.0, there is a multitenancy concept, so we can create multiple organization within one Dynamics CRM deployment, so to refer to the particular organization CRM entities, we can customize the organization name below

http://<servername[:port]>/mscrmservices/2007/crmservice.asmx?WSDL&uniquename=organizationName
Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: