XML documents

In webMethods B2B, create and define XML documents by referring to an existing document type in IBM® webMethods Integration.

Define various document properties and use them when you create an XML document.

Document recognition criteria
  • Content that an inbound XML document must have for it to be a match for the XML document. Specify one or more of the following criteria:
    • The Root tag of the document.
    • The system or public identifier of the document.
    • Identifiers, add optionally, the values of the document. Define the XML Query Language (XQL) queries that webMethods B2B executes to find the nodes and values.
    • Pipeline variables (variables that are inserted into the pipeline by the service that sends the document to webMethods B2B) and optionally, the values of the variables.
Attribute extraction
System and custom attribute to extract from the document. Define the XQL queries that webMethods B2B executes to extract the attributes. In addition, specify transformations for extracted attribute; for example, you might want to transform an extracted string value into all uppercase characters.
Preprocessing actions

Specify one or more of the following actions:

  • Verify digital signature, ensures that the signed body of the document arrived unchanged, and the sender is who it claims to be. webMethods B2B checks the sender by matching the certificate from the digital signature to the certificate in the partner's profile.
  • Check for duplicate document, whether webMethods B2B has received the document. webMethods B2B saves the results of this check to the pipeline, for you to use the results in the Save Document to Database pre-processing action to save only the unique documents.
  • Save the document to the webMethods B2B database. For example, save documents to the database when you want to make multiple attempts to deliver documents to partners.
  • Enable processing rule routing uses a processing rule to process the document further. You might not want to use a processing rule:

    If you want to persist the document only to the webMethods B2B database.

    If you want to process the document by using a business process instead of a processing rule.