WCF: myservice.svc? Wsdl shows “Did you create the service” and not WSDL?

I created a WCF service with wsHttpBinding and mexHttpBinding. When working on http in IIS6, myservice.svc displays the usual "You created the service." page myservice.svc? wsdl shows the XML containing the WSDL.

I changed from <security mode="None"> to <security mode="Transport"> , and now I'm trying to reach the same service using https. myservice.svc still shows "You created the service." But myservice.svc? Wsdl also shows "You created the service."

What am I doing wrong?

The service is still running (makes the client when using http and subsequently changes to https). But VS cannot generate a new client using https, possibly because the wddl page is broken.

+7
source share
1 answer

In the serviceMetadata behavior, you must set httpsGetEnabled to true.

+11
source

All Articles