Answered by:
Creating a CRM service in MS CRM 2011

Question
-
I need to create a crm service that creates a contact record on the CRM. During the course of my research, I have come across these links1. http://4rapiddev.com/csharp/create-crmservice-with-domain-username-and-password/(creating a crmservice in MS CRM 4.0)2. http://4rapiddev.com/csharp/create-account-with-microsoft-dynamics-crm-web-services-by-c/(creating an account record with MS CRM webservices)I want to be able to create a CRM webservice in MS CRM 2011 but i receive a lot of errors when following the steps stated in the first link.Can anyone please give me an idea how to go about this?Tuesday, November 8, 2011 6:37 AM
Answers
-
- Proposed as answer by crmdev2011 Tuesday, November 8, 2011 10:32 AM
- Marked as answer by David Edokpayi Tuesday, November 8, 2011 9:44 PM
Tuesday, November 8, 2011 7:32 AM
All replies
-
- Proposed as answer by crmdev2011 Tuesday, November 8, 2011 10:32 AM
- Marked as answer by David Edokpayi Tuesday, November 8, 2011 9:44 PM
Tuesday, November 8, 2011 7:32 AM -
Hi David,
webservices and their use are different in CRM 4.0 and CRM 2011.
Unfortunately, I am not sure what exactly you want to achieve, since you neither state the version you use nor the language, nor your exact intent.
I am just assuming now that you want to be able to access the CRM Webservices from Visual Studio in C# in Version 2011.
For that, check out the SDK quickstart project in samplecode/cs/quickstart
This project
- authenticates against the server
- connects to the discovery service to get a list of organizations
- creates an organizationservice and performs basic operations over the webserviceand all from a console application.
That was the best place to start for me. Maybe it helps you, too.
Regards,
JanTuesday, November 8, 2011 9:57 AM -
Thanks a lot crmdev2011, your link was very helpful. Jan , I checked the sample code you refered me to. I'm working with MS CRM 2011 and I intend to write a crm webservice (using C#)that can be called by a third-party application to create a contact in CRM without necessarily inputting data through webforms. Do you have any more ideas?Tuesday, November 8, 2011 9:53 PM