SharePoint - Sample Calling WCF in sharePoint Webpart

Asked By Vasundhara Ravikanti on 31-Jan-11 04:15 AM
Hi,

I need a sample for how to call an existing WCF Service inside Sharepoint Webpart


Thanks
Ravinder Jamgotre replied to Vasundhara Ravikanti on 23-Jun-11 06:35 AM
Hi

The following website illustrates and explain in detail how to achieve your scenario set below... You basically need to action the following steps.

  1. Creation of a WCF service;
  2. Deployment of the WCF service to IIS 7.0;
  3. Creation of a SharePoint web part (ASP.NET web part); and
  4. Modification of the SharePoint web.config.

http://blogs.msdn.com/b/steve_fox/archive/2009/07/08/wcf-services-and-sharepoint-integrating-sharepoint-web-parts-and-wcf-services-hosted-in-iis.aspx