Calling a WCF Web Service from Sharepoint

To call a WCF Web Service, your code needs to have a config file. To do this in Sharepoint 2007, you need to use the web application config file so you can edit the web.config file of that web application adding the bindings and the client sections to thesystem.serviceModel section making the web.config file will look something like that.

web.config

 

web.config.png

Comments

  • Anonymous
    December 03, 2007
    How would you host a wcf service in sharepoint
  • Anonymous
    June 02, 2008
    .NET 3.0 and higher is already supported with MOSS 2007. Essentially, .NET 3.0 and .NET 3.5 are additional
  • Anonymous
    April 21, 2009
    Thanks man....perfect solution