Using XML Value in Service Action
To use the XML value in a service action that has the XML value parameter:
-
On the Activation Test Case editor, in the Service Actions area, add service actions.
See "Creating Activation Test Cases" for more information.
-
In the Service Actions area, click a service action.
In the Service Action Parameters area, the service action parameters appear.
-
Click the row which has Type as XML.
The XML Value button is enabled.
Note:
The XML Value button is enabled only for an XML type.
-
Create an .xml file.
-
In the Package Explorer view, add the .xml file under the model folder in the current cartridge project.
-
Select Project, then select Clean.
-
In the Service Action Parameters area, click the row which has an XML type.
-
Click the XML Value button.
The XML Parameter Type Source dialog box appears.
-
Select the .xml file which contains the appropriate parameter values.
-
Click OK.
In the Service Action Parameters area, the path of the .xml file appears in the Value column.