Project description

The BDC DAL & Web service generator is a console application that can speed up the development process for developers who need to integrate their external systems within MOSS using the 'Business Data Catalog'.

So, how does it work?

The console application generates strongly typed code from your 'Business Data Catalog Application Definition' that describes the external system and generates one of the following artifacts:
  • Typed Data-Access-Layer - A strongly typed set of C# classes that provide an indirection layer for programming against the BDC. These classes map directly against the methods defined in the BDC application definition file. This way the developers don't need to worry about the BDC object model, and enables them to focus more on the overall functionality of the integration process. The classes are two way, so reading and writing using the BDC is covered.
  • Web service Layer - A strongly typed web service that enables users to access their BDC application definition methods using a web service. It uses the same DAL as above but provides a thin web service layer so that users can easily integrate their BDC application definition in products like InfoPath.
What are the benefits?
  • Speeds up the development process - No more writing of plumbing code for your BDC runtime model
  • No more errors - No more untyped coding against the BDC runtime model
  • Better exception handling with versioning - The DAL automatically ensures that its using the right version of the BDC application definition for the classes. If the application isn't loaded, the DAL raises exceptions.
  • Efficient deployment - The application outputs the information in such a folder structure that it can be packaged directly to a WSP solution package by the WSPBuilder (
  • Unified model - There is no difference in developing against the model using the BDC locally or connecting to the generated web service. The DAL optionally uses a provider model that makes it possible to switch implementation at runtime.
  • Unfortunately, I haven’t uploaded a version yet. I will do so soon.
More information

You can find more information on my blog:

Last edited Aug 10, 2007 at 6:30 AM by AgileDirect, version 32