none
Cannot Download WSDL RRS feed

  • Question

  • Whenever I try to retrieve the metadata from my service, I get a HTTP:404.
    I type in http://localhost:8732/MyService/meta into my browser but still get the 404 error.

    Below is my App.config file:

     


    <system.serviceModel>
        <services>
          <service behaviorConfiguration="MyBehavior" name="WcfServiceLibrary9.Service1">
            <endpoint address="" binding="wsHttpBinding" contract="WcfServiceLibrary9.IService1">
              <identity>
                <dns value="localhost" />
              </identity>
            </endpoint>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
            <host>
              <baseAddresses>
                <add baseAddress="http://localhost:8732/Design_Time_Addresses/WcfServiceLibrary9/Service1/" />
              </baseAddresses>
            </host>
          </service>
        </services>
        <behaviors>
          <serviceBehaviors>
            <behavior name="MyBehavior">
              <serviceMetadata httpGetEnabled="true" httpGetUrl="http://localhost:8732/MyService/meta" />
              <serviceDebug includeExceptionDetailInFaults="false" />
            </behavior>
          </serviceBehaviors>
        </behaviors>
      </system.serviceModel>

    Wednesday, August 3, 2011 5:39 PM

Answers