The following procedure describes the broad steps that need to be followed to migrate ASP.NET Web Service client code to WCF.
To migrate ASP.NET Web Service client code to WCF
Ensure that a comprehensive set of tests exist for the client.
Use Visual Studio 2005 to upgrade the client application to .NET 2.0. Run the set of tests.
Remove ASP.NET client code from the client project. That code is in modules generated using the WSDL.exe tool.
Generate WCF client code using the ServiceModel Metadata Utility Tool (Svcutil.exe). Add that code to the client project and merge the configuration output into the client’s existing configuration file.
Compile the application. Repair the compilation errors by replacing references to the former ASP.NET client types with references to the new WCF client types.
Run the set of tests.