>What is the advantages of using web services?
Besides the more obvious advantage of packaging functionality for use
across processes, even across radically different environments such as
being consumed by non-windows processes, their is the advantage of ease
of testing. This is the
If you write a class library project to encapsulate the web
references and only use that project to consume the web service, then as
unit test and production code are using the same class project, you can
test the web service thoroughly using standard NUnit
or VS 2008 Pro/Team unit testing.
Once you have one unit test written, it is very easy to work through various permutations of acceptable and unacceptable input.