I have created WCF service and hosted it on remote server. i am able to browse the said service from remote as well as on my local machine (firefox)
But when i copy the same url and say "add service reference" to my vs 2012 project file it gives me error
You may want to check the MSDN link. I had a similar issue and it turned out that I wasn't having the right Handler Mappings in local IIS.
Extract from the above link:
If you installed IIS after Windows Communication Foundation (WCF) was installed you must run the following command.
"%WINDIR%\Microsoft.Net\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe" -r
This registers the required script maps in IIS.