Windows Communication Foundation - SPLessons
SPLessons 5 Steps, 3 Clicks
5 Steps - 3 Clicks

WCF Test Client

WCF Test Client

shape Description

WCF Test Client that will consume service library. Here client can test  parameters(WcfTestClient.exe). Submit the input to the service and view the response of the service sending back to the client. WCF Test Client is a debugging tool.  If wanted to see the WCF Test Client without opening a visual studio, below path can be followed to open WCFTestClient.  C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\

Start of Tool

shape Step-1

First open the Visual Studio -> select New project

shape Step-2

Select WCF Application -> go to Solution Explorer which is in the right side of the screen.   

shape Step-3

The solution explorer have a file called as Service1.svc -> right click on the Service1.svc  -> View in Browser. Click on that option to run the application. After completion the below screen appears.

shape Step-4

After completion of the whole above process, open the following location: C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\  in system, the below template appears.

shape Step-5

Double click on the WcfTestClient.exe in the above template.A new template like below appears. The above template shows My Service Projects in the left side.Right click on My Service Projects you will get an add service option like below screen.

shape Step-6

Double click on Add Service then a new Screen like below is shown. Now,  Go back to WCF Service Application, and then copy the URL which gets after debugging the WCF Application as shown in the below screen.

shape Step-7

Paste the URL copied from the above screen into Add Service Screen. Like below screen: Here adding the service like below screen.

shape Step-8

Once configured, the tool will list all the methods and configure the info from service as below.