Make sure that your configuration file in the hosting environment allows you to get a WSDL document. It should contain the following:
<behaviors> <serviceBehaviors> <behavior name="metadata"> <serviceMetadata httpGetEnabled="true" /> <behavior> </serviceBehaviors> </behaviors>
And specify this behavior in the configuration of your service.
Edit:
Just to be clear. With the default WCF behavior, the WSDL file is nowhere. It is generated automatically and this auto-generation should be enabled.
Ladislav Mrnka
source share