Updating identifiers
webMethods B2B Integration displays a tree view of the referred IBM® webMethods Integration document.
Procedure
- In webMethods B2B Integration, from the side navigation menu, click Assets > Business documents, select an XML document you want to update.
-
Specify at least one criterion for a document to match a document type. In multiple
criteria, it must match all the identification criteria that you specify. If you specify the
Root tag and Doctype criteria,
webMethods B2B Integration
matches inbound XML documents to those criteria first. If these match,
webMethods B2B Integration
also checks the identifying XQL queries and values, and the pipeline matching. Matching criteria for
XQL queries and its values is case-sensitive.
Field Description Root tag Specifies the root element for the document type. It is the value that inbound documents must have in the root tag to match the document type. Doctype identifier Specifies the system or public identifier from the DOCTYPE declaration that inbound documents must must match the document type. For example, to identify a document that has the DOCTYPE declaration, you must type cXML.dtd. Identifying queries Specify that certain nodes must be present for inbound documents to match the document type. You can also specify the values that those nodes must have. To do so, define identifying XQL queries. For example, the following identifying query specifies that the OrderRequest tag must be present: /cXML[0]/Request[0]/OrderRequest[0]The following identifying query specifies that the Identity tag, within the Sender tag > Credential tag, must be present and must evaluate to XYZ Steel Company:/cXML[0]/Header[0]/Sender[0]/Credential[0]/XYZ Steel CompanyAdd a new identifier or replace an existing one. To add a new identifier, select a node for which you want to add an identifying query and click
.
Provide the XPath expression and the value for the expression. Ensure that the length of the
XPath is limited to 2,000 characters. Click Add. Click
Update to save the modifications.
Pipeline matching Specify pipeline variables that must be present in the inbound documents to match the document type. The criteria for matching inbound documents to the document type are name/value pairs, where values are optional. The pipeline is webMethods B2B Integration data structure in which input and output values from services of the webMethods B2B Integration application are maintained. The pipeline starts with the input to a service and collects inputs and outputs from subsequent services. When a service executes, it has access to all data in the pipeline. If you do not specify a value, the document matches the document type if the pipeline has a variable that matches the specified name, regardless of the variable's value. If you specify a value, the variable must have the specified value. The variables are inserted into the pipeline by the service from webMethods B2B Integration application that sends the document to webMethods B2B Integration. To add a pipeline variable, click
in the Pipeline matching section. In the Add pipeline match dialog box, type
the variable name and optionally, the value. - Click Update.