title: Switch SOA Server Address based on Build Mode (Debug, etc)?
body: <p>I have an app that uses a couple of SOA calls to get some information from a database.  For now we have been sending these calls to a test server, but in the near future the QA team will be using this, and they have their own QA database, and then of course we have the production server.</p>
  
  <p>Normally I would do an #if #define type of deal, but I have not used SOA before and I am not sure how to change the server url's, which I think reside in the App.Config and Service references folder in XML, on the fly.</p>
  
  <p>Just as a side note, the calls are all identical in how they function, they just have different database locations.</p>