When calling a WCF service from a console app, asp.net app, wpf/winform app, you have to have a app.config or web.config file for the WCF service endpoint information. But from FitNesse, I’m calling a fixture which is a .dll (class library) and this fixture is calling my WCF service. It can’t call the service because I can’t include the endpoint information that it needs – because DLLs can’t have app.config files. Any ideas on how to call a WCF service from FitNesse.
Share
I had to place my app.config file in the dotnet directory of FitNesse. I also had to add a path to that config file in my FitNesse page, like this.
!path C:\fitnesse20090214\fitnesse\dotnet\app.config