I have 2 WCF services now and I want to construct the WCF Service which will use 2 WCF Services(trying to make coarse-grained service).But as you know for making wcf service; create wcf service library and I construct all methods ,write on WCF Service Library.And then I create New Web Site which is WCF Service and I link it to WCF Service Library.
But there exist a problem at that moment; I can’t use WCF Service References in the WCF Service Libraries..NET FrameWork can’t use wcf service methods in independent WCF Service Library.What is the solution ? The problem is a bit confusing but I think a lot of people are trying to solve this problem …
You have to move/merge configuration of the referenced WCF services from app.config of your WCF Service Library, to the Web Site’s web.config. Everything else should work out of the box.