Hi All,
I have an .Net windows application. I have added an Wcf reference to this application using "Add Service Reference" option of VS 2008.
I have updated an method in the WCF(signature is same) and modified the hosting address.
Now, I have changed my window app config file to point to right host address but it is still hitting the old WCF.
When I start digging it out, I found that, when I added the WCF reference initially using "Add Service Reference" option of VS 2008, It creates lots of files(Proxy classes) and those files are pointing to the old WCF address.
I do not want to update the service reference in my windows application using "update Service Reference" option of VS 2008 as if I do so than I need to distribute the exeutable again to all the users.
Any help would be appreciated.
Pradeep ChandrakerPosted Jul 12, 2011, 11:59 PM
- You have added service reference in separate class library project and update app config on class library project but not on win app project.
- You have updated new endpoint in app config but when you are creating proxy object you are providing old endpoint details.
Try to check this two scenario. If you sill see issue, please post your sample code.