If you are using ChannelFactory to access your WCF service here is another solution: http://pocorath.blogspot.com/2011/08/servicereferencesclientconfig.html[^].
ChannelFactory
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)