Can anyone tell me how to add the reference of a web service dynamically. Basically while in development mode I want to code with the localhost web service reference. But when I put it on production it should point to the webservice on my production box. Both the web services are same except that they are on different servers. <BR>I read somewhere that I can change the URL of the object and can directly refer to another web service by doing that. But to my understanding after I create an object of localhost (my local copy) and then change the URL, it wont change the namespace to which my object is pointing. So thats not gonna work.<BR>Any suggestions/Advices?<BR><BR>Thanks in advance<BR>