How do we test a WCF service without a client

66
Views
1
Answers

Hi,
I have a WCF service hosted in IIs. How do I test if the service is working as expected without a client.
Thanks.

edit | flag
William Patrick
Asked on: Dec 06, 2011 at 12:47AM

1 Answers

80
4
80

You can test using a WCF Test Client. It's a feature in Visual studio.

Open Visual studio command prompt and type in wcftestclient

Add the service and will return you all the methods exposed. You can invoke any of the methods and get the results.

Your command prompt will look like

C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Communication Foundation>wcftestclient
edit | flag
Gokul A
Answered on: Dec 06, 2011 at 12:50AM

Post your Answer

Search

Welcome to Ask Amoeba!
This is 100% free and interactive site for sharing professional Questions and Answers, Opensource projects, Interview questions.
Learners, beginners, Experts stop and share your knowledge and ideas!

Browse Categories

Browse Tags