Defining an XML document with a DTD
This use case explains how to define an XML document with a DTD.
Before you begin
Ensure that you have an existing project in IBM® webMethods Integration.
About this task
The use case begins with either a plain DTD document, a compressed compressed file containing a DTD document, or a URL where a DTD is hosted, based on which you define an XML document. The use case ends when you create the XML document.
In this example, define an XML document based on a DTD purchaseorder1 that is project-aware of the project B2B_Test in webMethods Integration and uses a DTD POAccept.DTD.
Procedure
What to do next
- After you add the XML document, manually extract the senderID and receiver Ids, so that webMethods B2B
can 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 step under Identifiers for each document. Only then, webMethods B2B recognizes RosettaNet messages.
- Activate the XML document and test it.
With this use case, the respective document type is also created on webMethods Integration.
To update the XML document, click Edit icon on the document details page. You can update the name, description, project, and document type.
Navigate to the respective pages to edit the Identifiers, Attributes, Namespaces, and Options.