XmlDocument doc = new XmlDocument();
doc.Load(AppDomain.CurrentDomain.BaseDirectory + "//WcfServicesUrl.config");
XmlNode node = doc.GetElementsByTagName("appSettings").Item(0).FirstChild;
XmlElement ele = (XmlElement)node;
string WcfServiceUrl = ele.GetAttribute("value");
return WcfServiceUrl;