enabled WCF web services
===

im having troubles with my web.config  need urgent help ,as i got error "no endpoint found"  i modified my file to :

    <behaviors>
          <serviceBehaviors>
            <behavior name ="metadataBehavior">
              <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
              <serviceMetadata httpGetEnabled="true"/>
              <!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information -->
              <serviceDebug includeExceptionDetailInFaults="false"/>
            </behavior>
          </serviceBehaviors>
        </behaviors>
    
        > **<services>   <service name ="RestServices.Airports" behaviorConfiguration ="metadataBehavior">
        >     <endpoint address ="" binding ="basicHttpBinding" contract ="RestServices.IAirports"/>
        >     <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>   </service> </services>**
    
        <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
      </system.serviceModel>
     <system.webServer>
        <modules runAllManagedModulesForAllRequests="true"/>
      </system.webServer> 
    </configuration>


i added that block of code in bold and i got another error 

> XML Parsing Error: no element found
Location: "http://jj:63110/Airports.svc"
Line Number 1, Column 1:
^

when i removed that block my web service works but still shows the endpoint error.

Any ideas why ?

all comments are appreciated

thanks

