Hi all,
How to generate client proxy for a WCF service to a particular location?
Suppose I want to create the proxy class in a folder "C:\Client\".
Please help.
Hi all,
How to generate client proxy for a WCF service to a particular location?
Suppose I want to create the proxy class in a folder "C:\Client\".
Please help.
svcutil tool can help you
svcutil.exe /d:C:\Client\ /out:generatedProxy.cs http://localhost:8000/ServiceModelSamples/service
When you run svcutil.exe, you can specify the output location using the o switch:
svcutil.exe whatever.wsdl /o:C:\Client\Services.cs
(Should be something like that, but maybe you have to quote the full path or something)