title: web service using configuration file in c#
body: <h2>i need help to using this below configuration in xml file to change my url web service,</h2>
  
  <pre><code>`&lt;configuration&gt;
    &lt;appSettings&gt;
      &lt;add key="UserName" value="ova"/&gt;
      &lt;add key="UserPassword" value="ova"/&gt;
      &lt;add key="ServiceName" value="xe"/&gt;
      &lt;add key="ServerName" value="localhost"/&gt;
      &lt;add key="WebService" value="/FDC_Service/FDC_Service.asmx"/&gt;
    &lt;/appSettings&gt;
  &lt;/configuration&gt;`
  </code></pre>
  
  <hr>
  
  <p>and its code i need to chnange with calling server name and web service in source Code appliation, like this below</p>
  
  <pre><code>FDC_Service.FDC_ServiceClass asd = new FDC_Service.FDC_ServiceClass();
  retval = asd.FDC_Command(database.UserName, database.UserPassword, database.ServiceName, str);
  </code></pre>
  
  <p>FDC_Service is my web service, i need help
  thanks....</p>