views:

120

answers:

2

Hello,

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?

+1  A: 

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. http://msdn.microsoft.com/en-us/library/0k6kkbsd.aspx

stimms
+1  A: 

Our company uses a combination of NANT + Cruise Control + Custom Utility apps to build our products. More specifically, the task in NANT will allow you to fire off those command-line applications such as WSDL.exe

Page Brooks