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