Url to access the Service is different from the one used to Generate Proxy(IIS7

Posted by Vuyiswamb under WCF on 7/7/2011 | Points: 10 | Views : 1298 | Status : [Member] [MVP] [Administrator] | Replies : 1
Good Day All

i have a IIS server. This IIS Server is publicly available , so i have hosted some WCF services in that server , i can access the URL from outside my network, but i can use it. the url that i access it with is


but now looking at the link to generate the metadata is different, it does not use an IP

svcutil.exe [url]http://Mywebserver.mynetwoorkdomain.local:8095/DataLayer/eCashDatalayer.svc?wsdl[/url]

so this makes it not accessible via the wcftestclient or even if i try to make add a reference in my applications in VS

What settings in the IIS do i need to change ?


Thank you for posting at Dotnetfunda


Posted by: Blessyjees on: 9/26/2011 [Member] Bronze | Points: 25


For working this add your domain in the hosts file of the system. Usually this file held at C:\Windows\System32\drivers\etc\hosts

Blessy Baby
Digitalmesh Softech pvt Ltd

Vuyiswamb, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response