Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi,
We have Service Wrapper project to aggregate all service(local) clients and we are consuming in MVC.

My problem is I want to test my ServiceWrapper client methods.

Is there any way to test client methods.
Posted

1 solution

You could create a new "Test project" and create unit tests classes inside it for testing each WCF client method.

Note that you should copy in the app.config of the "test projects" the WCF settings from the App.config of your "WCF client project".
 
Share this answer
 
Comments
Rajesh Kumar Chekuri 3-Sep-14 8:44am    
I Tried this it's not working , I mean service is not starting
Update : It's working now, same thing only I tried. now WCF service is starting .. Thanks ...
Raul Iloc 3-Sep-14 8:46am    
This means that you did not copy (or missed something from) the WCF settings into the app.config of the test project!
Raul Iloc 3-Sep-14 8:51am    
Welcome!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900