Sun Adapter for Oracle Tutorials

ProcedureCreate the Inbound and Outbound DTD OTDs

  1. 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.

  2. Select DTD as the wizard type, and click Next.

  3. Browse to and select the otdInputDTD.dtd file that was extracted with the sample project. Click Select, and click Next.

  4. In Step 3 of the wizard, select the otdInputDTD_DBemployees document element, and click Next.

  5. 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.

  6. 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: otdOracle, otdInputDTD_DBemployees, and otdOutputDTD_DBemployees.

Next Steps

For your next step, see: