How to publish WSDL for WCF 4.0 service with REST/SOAP endpoints?

Wsdl The solution was using new ServiceHostFactory instead of new WebServiceHostFactory in the global.asax. With WebServiceHostFactory you lose the WSDL functionality A similar question can be found here: ServiceRoute + WebServiceHostFactory kills WSDL generation? How to create extensionless WCF service with?wsdl.

I have managed to get the WSDL working at localhost:1313/ServiceTest/VehicleServic.... The solution was using new ServiceHostFactory instead of new WebServiceHostFactory in the global.asax. With WebServiceHostFactory you lose the WSDL functionality.

A similar question can be found here: ServiceRoute + WebServiceHostFactory kills WSDL generation? How to create extensionless WCF service with?wsdl.

You should be able to get the WSDL by using the mex URL directly from the browser: localhost:1313/ServiceTest/VehicleServic... The WcfTestClient is almost certainly doing that to retrieve the WSDL so it can generate the proxy to the service.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions