Apama Documentation : Connecting Apama Applications to External Components : Standard IAF Plug-ins : The Web Services Client IAF Adapter : Specifying transformation types
Specifying transformation types
In the Mapping Element Details section, in the Transformation Type field select the desired type from the drop-down list.
To specify the transformation details
1. In the Mapping Definitions section, draw the line indicating the mapping from source to target.
2. In the Mapping Definitions section, click on the line that specifies the mapping rule.
3. Under Mapping Element Details on the Properties tab, in the Transformation Type drop-down list:
*Select XSLT Transformation. In the Stylesheet URL field, click Browse to locate the stylesheet file.
*Select XPath. In the XPath Expression field, specify a valid XPath expression. You can either enter the XPath expression directly or you can use the XPath builder tool to construct an expression. To use the XPath Builder:
i. Click the Browse button [...] to the right of the XPath Expression field.
ii. In the Select input for XPath helper dialog, click Browse [...] and select the name of the file that contains a definition of the XML structure (the drop-down arrow allows you to select the scope of the selection process). Click OK. The XPath Helper opens, showing the XML structure of the selected file in the left pane. See also Using the XPath Helper.
iii. In the XPath Helper, build the desired XPath expression by double-clicking on nodes of interest in the left pane. The resultant XPath expression appears in the XPath tab in the upper right pane. If the XML document makes use of namespaces, change the namespace option from Prefix to Namespace or Local name.
iv. In the XPath Helper, click OK. The XPath Builder closes and the XPath Expression field displays the XPath expression you built.
*Select XMLDecode.
i. In the Node path field, specify a valid node path.
ii. In the Properties field, specify the properties as property=value. If you want to specify multiple properties, specify the properties separated by a semicolon.
For more information, see Specifying XML codec properties.
Copyright © 2013-2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback