I have a web application written in C# that consumes several internal web services. We have a development tier, a testing tier, and a production tier. Also, we use the
WSDL.exe command to generate a
Proxies.cs file for a given tier's web services.
When we are ready to deploy our code up the stack from development to test or test to production, we need to run the
WSDL.exe command to point to the appropriate version of the web services.
Is there a generally accepted way to automate this?
There are a number of way to do it. A NAnt build script will do it, but I think the most commonly accepted method now is to use MSBuild. See MSDN for details.
Answer author Stimms
Tickanswer.com is providing the only single recommended solution of the question Automating WSDL.exe in a Custom Build under the categories i.e asp.net , build-process , wsdl , . Our team of experts filter the best solution for you.