How to: |
A process flow is required to configure the input document and to interpret the results based on the coding of the DQC Plan.
The DQC service (XDDQAgent) is configured to pass information to the named Data Quality Provider and to retrieve the responses generated by the DQC Plan. The DQC service must also specify an XPath expression which references a parent node. This parent node should necessarily contain the elements firstname and lastname, which are identical to the input attributes of the DQC Plan.
To create your process flow and define the DQC service:
For more information, see Starting iWay Integration Tools.
The New Integration Project dialog box opens.
The new Integration Project node (DQC_PFlow) is added to the Integration Explorer tab, as shown in the following image.
The New Process Flow Wizard opens.
A new tab called Hello_Pflow.iwp is added to the iWay Integration Tools canvas area. The canvas area, which now functions as iWay Designer, displays a Start object by default, as shown in the following image.
The Palette pane reveals all the available iWay Designer objects that you can use to construct your process flow.
For more comprehensive information on how to configure and use these objects, see the iWay Designer User’s Guide.
The New End Object dialog box opens.
The new End object is added to the canvas area.
Note: The DQC plan you are selecting in this step must be identical to the value that was specified during the Data Quality Provider configuration process.
The New DQC Object (Name and Description) window opens.
The New DQC Object (Service Object Type) window opens.
The New DQC Object (Object Properties) window opens.
Setting |
Value |
---|---|
Data Quality Provider |
Hello_customer |
XPath Expression |
//customers The XPath expression references a parent node that should contain the same elements used as input attributes of the DQC Plan. |
XPath Namespace Map |
This setting is not used. Leave it blank. |
Replace or Preserve? |
Preserve |
The following example illustrates the relationship between the process flow XPath expression and the input document.
Sample input document for the process flow:
<customerGreeting> <customers> <firstname>Daniel</firstname> <lastname>Deutsch</lastname> </customers> </customerGreeting>
XPath expression for the process flow using the sample input document:
//customers
All elements under the customers node (for example, firstname and lastname) will be sent to the DQC plan as input elements.
The new DQC Service object (Hello_customer DQC Plan) is added to the canvas, as shown in the following image.
The Connection Properties dialog box opens.
This option indicates that there are no conditions that affect the path, and that the path between the two objects will always be followed.
A line appears between the objects to indicate that a relationship has been established.
The Connection Properties dialog box opens.
This option indicates that there are no conditions that affect the path, and that the path between the two objects will always be followed.
A line appears between the objects to indicate that a relationship has been established. The process flow is now complete, as shown in the following image.
You are now ready to test your process flow.
iWay Software |