Installing Upgrading Designing Configuring Deploying Monitoring Administering Troubleshooting Reference JBI Components
Close Print View
Designing: Generating a DTD for the XML File
 

Classic Java CAPS

Developing Java CAPS Projects

Using SOAP Message Handlers

Creating a Runtime Environment

Designing Business Processes in the Sun Business Process Manager

Working with TCP/IP HL7 Collaborations

Developing Sun Master Indexes (Repository)

Developing Sun Master Patient Indexes

Developing OTDs for Application Adapters

Creating SAP BAPI OTDs

SAP BAPI Encoding

Date and Time Stamp Requirements

Installing SAP JCo

Creating BAPI and RFC OTDs

Relaunching BAPI and RFC OTDs

Creating a SAP ALE OTDs Wizard

SAP JCo and SAP IDoc Class Library Installation

SAP Java IDoc Class Library

Creating IDoc OTDs

Exporting the IDOC File from SAP

Saving the IDoc Description File (After 4.6)

Creating Siebel EAI OTDs

Before Creating the OTD

Creating the OTD

Creating COBOL Copybook OTDs

To create COBOL Copybook OTDs

Parsing Copybook Entries

COBOL Copybook OTD

Relaunching OTDs

To Relaunch an Existing OTD

COBOL Copybook OTD Methods

OTD Method Guidelines

Root-level Methods

Non-Root Methods

BPEL Operations

Creating an Oracle Applications OTD

Select Wizard Type

Connect To Database

Select Oracle Applications Module

Specify the OTD Name

Review Selections

Exposed Oracle Applications OTD Nodes

Staging Table Node

COUNT

DELETE

INITIALIZE

MOVE

REQUEST

REQUEST_STATUS

VALIDATE

SWIFT Alliance Gateway Adapter OTD Features

Configuration Node

Generating DTDs from PeopleTools 8.13

Generating and Publishing an XML Test Message

To generate a PeopleSoft XML message

Extracting and Viewing the XML Test Message

To view the XML message

Generating a DTD for the XML File

Creating OTDs

OTD Methods and Business Process Operations

sendMessage() method

Developing OTDs for Communication Adapters

Developing OTDs for Database Adapters

Developing OTDs for Web Server Adapters

Designing with Application Adapters

Designing with Communication Adapters

Designing with Web Server Adapters

SWIFT Integration Projects

Java EE Based Components

Designing with Sun JCA Adapters

About the TCP/IP JCA Adapter

Defining Constants and Variables

Using Database Operations

Developing Sun Master Indexes

Using the JMS JCA Wizard

Using the JAXB Wizard and Code-Seeder Pallete

Generating a DTD for the XML File

The structure of the XML message must now be described in a DTD, from which an OTD is subsequently generated. PeopleSoft does not provide a DTD generation utility, but third-party utilities are available to accomplish this task.

A free, online DTD Generator utility is available at the following URL:

http://www.hitsw.com/

This utility is presented to illustrate the general procedures for generating a DTD. Sun Microsystems Inc. has no connection with, and does not support, this product.

  1. From the XML Document to DTD field browse to and select the .xml file with the saved XML Message. For this example:

    c:\temp\ADVANCED_SHIPPING_RECEIPT.xml
  2. Click Open. The DTD Generator page reappears with the path and file displayed in the XML Document box (see Generating a DTD for the XML File).

    DTD Generator
  3. Click Generate DTD to generate the DTD. The DTD appears as displayed in Generating a DTD for the XML File.

    DTD Generator XML File
  4. Select only the DTD-related information (usually all information except the first line).

  5. Copy and paste the text into a text editor and save it with a .dtd extension to a temporary location. Use the same naming convention to name the message definition (for the example, ADVANCED_SHIPPING_RECEIPT).

    Advanced Shipping Receipt DTD

    You can now use the DTD to create a PeopleSoft OTD using the Netbeans IDE’s DTD OTD wizard (see Creating OTDs).