open visual studio Command Prompt
start-->Microsoft Visual Studio 2010--> Visual Studio Tools-->Visual Studio Command Prompt
Write this line
svcutil.exe /language:cs /out:GeneratedProxy.cs /config:app.config http://localhost:8040/HostWebApplication/HelloWorldService.svc
Replace
http://localhost:8040/HostWebApplication/HelloWorldService.svc
with your service address
hope this be useful
start-->Microsoft Visual Studio 2010--> Visual Studio Tools-->Visual Studio Command Prompt
Write this line
svcutil.exe /language:cs /out:GeneratedProxy.cs /config:app.config http://localhost:8040/HostWebApplication/HelloWorldService.svc
Replace
http://localhost:8040/HostWebApplication/HelloWorldService.svc
with your service address
hope this be useful