To create the inbound DTD OTD, right-click your project in the NetBeans Projects window, and select New -> Object Type Definition from the popup menu.
The New Object Type Definition Wizard appears.
Select DTD as the wizard type, and click Next.
Browse to and select the otdInputDTD.dtd file that was extracted with the sample project. Click Select, and click Next.
In Step 3 of the wizard, select the otdInputDTD_DBemployees document element, and click Next.
In Step 4 of the wizard, accept the default option settings, and click Finish.
The new OTD, otdInputDTD_DBemployees, now appears under your project's otdALL node, in the Projects window.
To create the otdOutputDTD_DBemployees OTD, repeat steps 1–5 above, substituting otdOutputDTD.dtd for the DTD in step 3.
When you're finished, the project's otdALL folder now contains three OTDs: otdDB2, otdInputDTD_DBemployees, and otdOutputDTD_DBemployees.
For your next step, see:
Creating the Collaboration Definitions (Java) if you are creating the prjDB2_JCD Project.
Creating the Business Processes if you are creating the prjDB2_BPEL Project.