I have a WCF application running on my local IIS. When I access the WSDL and functions directly on the URL using the computer name everything works fine.
Works: http://COMPNAME123/AppDLL/AppLogin.svc?wsdl
Works: http://COMPNAME123/AppDLL/AppLogin.svc/GetEmployee/as_id=123123
When I access the WSDL using localhost that works fine too. But when I try to call a function directly using localhost instead of the computer name I get a "404 The resource cannot be found" error. Any help would be greatly appreciated.
Works: http://localhost/AppDLL/AppLogin.svc?wsdl
Does not Work: http://localhost/AppDLL/AppLogin.svc/GetEmployee/as_id=123123
I also tried 127.0.0.1 and got the same results as when I tried localhost. Nothing is mapped in my hosts file that would cause this problem.