Defining an XML document from a sample XML document
This use case explains how to define an XML document from a sample XML document.
Before you begin
Ensure that you have:
- An existing project in IBM® webMethods Integration.
- XML document structure (document type, schema, and so on) that is defined in the system.
About this task
In this example, you define an XML document PurchaseOrder that is project-aware of the project B2B_Test in webMethods Integration and uses a sample XML document PORequest.xml.
Procedure
Results
View this XML document in the list of available documents on the Business documents page.
What to do next
- After you add the XML document, manually extract the senderID and receiverIDs so that webMethods B2B
can recognize the documents.Important: 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. 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 IBM webMethods Integration.
Alternate flow
- 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 sections to edit the Identifiers, Attributes, Namespaces, and Options.