Generating Web Services for IBM DB2 V8.1

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.

You can attach the DADX extended model definition at model creation. In the New dialog box, once you have selected Physical Data Model in the Model type list, and IBM DB2 UDB 8.x Common Server in the DBMS list, click the Extended Model Definitions tab and select DADX.

  1. Select Model > Extended Model Definition s to open the List of Extended Model Definitions.
  2. Click the Import an Extended Model Definition tool to open the Extended Model Definition Selection dialog box, select DADX in the list of extended model definitions and click OK.

    DADX is displayed in the List of Extended Model Definitions.

  3. Click OK to return to the main window.
  4. Select Tools > Extended Generation to open the Generation dialog box with DADX selected in the Targets tab.

  5. Click the Select a Path button, to the right of the Directory box, 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 box will be displayed with the paths of the DADX files.



  8. Select the path of a DADX file and click Edit.

    The DADX file is displayed 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).


Created October 7, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com