Error 1 :
change the 2nd end point address as below
<endpoint address="mex">
binding="mexHttpBinding"
contract="IMetadataExchange" /></endpoint>
Error 2 :
Give a port no so that service will run on that port.change that like below
<host>
<baseaddresses>
<add baseaddress="http://localhost:8085" />
</baseaddresses>
</host>
error 3 :
don't use below code in config file
defaultBodyStyle="Wrapped" defaultOutgoingResponseFormat="Json"
helpEnabled="true" />
use that by webinvoke or webget attribute below the operation contract attribute like:
[OperationContract]
[WebInvoke(Method = "GET", ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped, UriTemplate = "getData/{value}")]
error 4:
keep your config file on root directory of project . then while configuring this with iis point the project folder which contains config file .
try this suggestions ,it may work for you .