Hi


I have created a web service that search products and return them for consuming in my client application. Say now I want to put the web service into two or more servers (with different IP) and I want my client to ask all these services in order to gain product.
When I do that in visual studio I do it manually and I add a web reference for the one web service and a web reference for the second web service, I add the namespaces and I call the method for each service manually.
Now I need to do this automatically. That’s it to have the final exe and add the link of the web service I want (say in a configuration file) and my client working OK.

Can this can happen (as I Know each time that you add a web reference it created a proxy, so it happen code generation) and how?


I use VS 2005 and C# (VS 2003 is still ok)

Thanks