how to add web reference in MS CRM 2011 - dynamics-crm-2011

on MS CRM 4.0, we can add this web service as web reference:
http:///MSCrmServices/2007/CrmService.asmx
to get all CRM entities to our local,
actually i just want to create a class library project and add web reference to CRM web service, and get all original and my customized entities?
i knew the tool cmrsvcutil.exe (in CRMSDK) can generate all entities (includes customized), but the code is only for .NET 4.0.
can anybody help me?
*UPDATE***
finally i used CRMSDK4 and DynamicEntity to call CRM web service and update my customized eneties.

The CRM 2011 SDK is built on .NET 4 so you may have some trouble if you are working with an earlier version. Can you explain a little more about your application and needs as their are more web services in the 2011 version than there were in 4. It is best practice to use the SDK libraries to reference the service. If you want to use pre .NET 4 I would recommend using the CRM 4 SDK to connect to the CRM 4 endpoint that still exists for backwards compatibility. Note that this isn't a great solution in the long run as the next version likely will not support use of the CRM 4 web service.
To see the new 2011 service endpoints, log in to CRM, click on Settings > Customization > Developer Resources ->

Related

OData support in ASP.Net Web API RTM 2012

How to implement the OData in ASP .Net Web API using Visual Studio 2012?
Use Web API OData preview package - http://nuget.org/packages/Microsoft.AspNet.WebApi.OData
You can find overview articles by Alex James here - http://blogs.msdn.com/b/alexj/archive/2012/08/15/odata-support-in-asp-net-web-api.aspx
There is no full support for OData in Web API at the moment. The best you can do for the time being is go with the preview package above.
It was released on the same day as Web API RTM was released, to provide simple support for OData and preview some functionalities (that's why it's called alpha). Full package is coming later this fall.

OnPremise vs. Hosted MS CRM 2011

Are there any differences between the OnPremise and Hosted versions of MS CRM 2011 besides price/licensing? Can I deploy solutions or any other custom features to the Hosted version or is that strictly reserved for the default functionality?
We are also considering trying to mold Sharepoint into being our CRM because we are already licensed for it but I'm going to try to reject that.
You can deploy plugins that run in the Sandbox environment in the CRM Online/Hosted environments. You can also deploy custom FetchXML-based reports to Hosted. The main things you can't do in a Hosted environment:
"Normal" plugins
SQL-based Reports
Direct database access (Filtered Views)
Custom .NET Workflow activities
And yes, SharePoint shouldn't be your CRM - CRM should be your CRM! :)
With rollup 12 it is now possible to use custom workflow activities in CRM online
http://mubashersharif.blogspot.be/2013/01/custom-workflowactivity-understanding-development.html

Use CRM 2011 sdk in Sharepoint SDK

Since the CRM 2011 utilises .NET 4 and SharePoint is on .NET 3.5 I started two different projects CRM 2011 Connector and SharePoint 2010 BDC project for it.
When I add this library as reference I get warnings about .NET framework versions.
How to make interaction more clear between .Net 3.5 and .Net 4?
Is it possible to achieve the goal using WCF for CRM and SharePoint SDKs?
Sultan

WCF Service for adding Sharepoint users?

Currently we have an application that is written in .NET 3.5, which we are planning on upgrading to .NET 4.0.
Is it possible to create a WCF service that could make use of SharePoint 2010 API to create Sharepoint users by calling that service from .NET 4.0 application? What sort of issues do you think i may run in to if we upgrade, as Sharepoint 2010 works with .NET 3.5 and not 4.0?
Yes, you can use .Net 3.5 web service in your .Net 4 application .
You will have difficulties with DTO types, but if you use the properly serialized xml data then, should be no problem.

Publish Cognos Content in Sharepoint 2003

What are my options? I'm researching a 3rd party called QueryVision, but would like to explore other alternatives.
Cognos 8 can integrate with SharePoint 2003 directly. Check your Administration and Security guide - in recent versions there is a section dedicated to setting this integration up entitled "Deploying Cognos Portlets to Microsoft SharePoint Portal Server 2003 and 2007."
One way you can integrate Cognos content directly into 3rd party portals and apps is to use parameterized URLs. Here's a link to the best practices document on the IBM site. Performing Tasks using Parameterized URLs in IBM Cognos 8 On page 15, it shows an example of integrating Cognos 8 into Sharepoint.

Resources