Sunday, October 18, 2009

Test your WCF services using the WCF Test Client

Shipped with Microsoft Visual Studio is an application called the WCF Test Client (Start Menu > Open Visual Studio Command Prompt, type wcftestclient and press enter). This application can be used to test the methods/operations of any WCF service.

In the application, do File > Add Service, enter the service URL and click OK. You will now see the available service operations. Click on any operation, enter a value for each parameter and click Invoke. The result will be displayed in the response frame.