Dear All,
I am getting an error which says "WCF service host cannot find any service metadata.This may cause the client application to run improperly...."
This happens when I test the WCF service using the built-in host which also displays the Test client in VS 2008.
My App.Config file is as given below:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<compilation debug="true" />
</system.web>
<!-- When deploying the service library project, the content of the config file must be added to the host's
app.config file. System.Configuration does not support config files for libraries. -->
<system.serviceModel>
<services>
<service name="MyWCFServices.RealNorthWindService.
ProductService" behaviorConfiguration="MyWCFServices.RealNorthWindService.ProductServiceBehavior">
<host>
<baseAddresses>
<add baseAddress = "http://localhost:8731/Design_Time_Addresses/MyWCFServices/RealNorthWindService/
ProductService/" />
</baseAddresses>
</host>
<!-- Service Endpoints -->
<!-- Unless fully qualified, address
View Complete Post