Deploying and Managing Apama Applications > The Apama Web Services Client Adapter > Specifying transformation types > Specifying an XPath transformation type
Specifying an XPath transformation type
If the mapping from an Apama event type to a Web Service operation's parameters requires an XPath transformation, specify the transformation details as follows:
1. If necessary, in the adapter editor's Event Mappings tab, in the Mapping Element Details section, draw the line indicating the mapping from source to target.
2. In the Mapping Element Details section, click on the line that specifies the mapping rule you are interested in.
3. In the Mapping Element Details section, in the Transformation Type field select XPath statement.
4. 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:
a. Click the Browse button [...] to the right of the XPath Expression field. The Select input for XPath helper dialog is displayed.
b. 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-hand pane.
c. In the XPath Helper build the desired XPath expression by double-clicking on nodes of interest in the left hand pane. The resultant XPath expression is displayed in the XPath tab in the upper right-hand pane.
d. In the XPath Helper, click OK. The XPath Builder closes and the XPath Expression field displays the XPath expression you built.
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.