I have a wcf web service and I need to provide the client with wsdl files.
I used to use svcutil on .dll, and everything was fine.
However, I recently implemented a factory for the Flaten wsdl file (re: http://wcfextras.codeplex.com/ ).
My questions are: is there anyway to use svcutil on .svc to extract Flattened.WSDL files, or maybe somehow get into a web service when running on a local web server to extract .WSDL files?
As far as I know, if I were to go to my local web developers server ( http: // localhost: 2916 / Service.svc? Wsdl ), and if I had to look at the source and save it as .wsdl, that is wrong and will not provide all the necessary information.
Note: The following describes how the factory is used in the .svc ....
<% @ServiceHost Factory="CompanyName.ServiceModel.Extensions.Description.FlatWsdlServiceHostFactory" language=c# Service="CompanyName.WebServices.Service"%>
Thanks Steven
source
share