The WCF client proxy can be generated manually by using the SVCUtil.exe (Service Model Metadata Utility Tool). It is a command-line tool for generating the code from the service metadata. The following command can be used to generate the proxy code: svcutil.exe <Service URL>.
If you want to create the proxy client for the service that we created earlier, you can enter the following command in a console window:
svcutil.exe http://localhost:59795/Services/
EmployeeService.svc?wsdl
Alternatively, you can also generate the client proxy from Visual Studio. As demonstrated previously, the Add Service Reference feature generates the proxy code automatically. Once you click the Go button after inserting the service address, the dialog displays a list of services available at the address specified. It starts generating the code when you click the OK button.
In our case, the Service Model Metadata Utility Tool and the Add Service Reference dialog of Visual Studio (you can...