0
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#
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#
Post a Comment