0
Posted on 5:03 AM by Softminer and filed under ,


To Generate Service proxy c# classes from WCF endpoint Run:

cd C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin>
svcutil net.tcp://endpoint.svc /out:c:\proxy

To create schema from service contract dll
Run visual studio command prompt as admin:
go to the output folder

Svcutil c:/ServiceContracts.dll /t:metadata

Schema (*.xsd) and (*.wsdl) are generated and then proxy classes can be generated using:
Svcutil *.wsdl *.xsd /language:C#
0
Responses to ... Generate proxy classes using SVCUTIL