Jan 3, 2007

Technology Migration

Our company is attempting to migrate from .NET 1.1/ SQL2K to .NET 2.0/ SQL2005. One thing we are trying to fix is the proxy type generation done in .NET client proxies.

Our approach is straightforward:
  1. Write a mysvc.asmx files
  2. Use the URI syntax: http://localhost/websvc/mysvc.asmx?WSDL to generate the WSDL
  3. Use .NET ServiceDescriptionImporter class & the WSDL from above step to generate the client proxy code
  4. Tweak the types generated so that they belong to the same namespace and have properties (useful for binding to Datagrids in .aspx files)

No comments: