Generating Web Services for IBM DB2

In IBM DB2, web services are defined by Document Access Definition Extension (DADX) files.

A PDM with the appropriate extended model definition allows you to generate a DADX file for each web service defined for IBM DB2.

Note:

You can also attach an XEM at model creation time by clicking the Select Extensions button on the New Model dialog.

  1. Select Model > Extended Model Definitions, and click the Import tool.
  2. Select the DADX xem and click OK to attach it to your model.
  3. Click OK to close the List of Extended Model Definitions and return to your model.
  4. Select Tools > Extended Generation to open the Generation dialog box with DADX selected in the Targets tab.

  5. Click the Select a Path tool to the right of the Directory field, and specify a path for the DADX files.
  6. Click the Selection tab, and select the web services for which you want to generate a DADX file.

  7. Click OK to begin generation.

    When generation is complete, the Result dialog displays the paths of the DADX files.



  8. [optional] Select the path of a DADX file and click Edit to display the DADX file in the editor window.

  9. Click Close in the Result dialog box.

You can now use the DADX files for SOAP requests in IBM DB2 UDB web services Object Runtime Framework (WORF).