Defining an XML document with a DTD
This use case explains how to define an XML document with a DTD.
Before you begin
You must have an existing project in IBM®
webMethods Integration.
Note:
webMethods B2B Integration
does not support processing XML External Entities (XXE) within DTD files when you create XML
documents.
webMethods B2B Integration
rejects any DTD that references external entities to ensure secure XML handling.
About this task
You can define an XML document with a DTD using one of the following options:
- A plain DTD document, a compressed file that contains a DTD document, or
- A URL where a DTD is hosted, based on which you define an XML document.
Procedure
What to do next
- After you add the XML document, manually extract the senderID and receiverID, for
webMethods B2B Integration
to recognize the documents.Note: After adding XML documents using DTD or XSD or a sample XML, you must explicitly add the processVersion attribute in the Pipeline matching section under Identifiers for each document. This step is required for webMethods B2B Integration to recognize RosettaNet messages.
- Activate the XML document and test it.
The respective document type is also created on webMethods Integration.
To update the XML document, click the Edit icon on the document details page. You can update the name, description, project, and document type.
Go to the respective pages to edit the Identifiers, Attributes, Namespaces, and Options.