Using XML Value in Service Action

To use the XML value in a service action that has the XML value parameter:

  1. On the Activation Test Case editor, in the Service Actions area, add service actions.

    See "Creating Activation Test Cases" for more information.

  2. In the Service Actions area, click a service action.

    In the Service Action Parameters area, the service action parameters appear.

  3. 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.

  4. Create an .xml file.

  5. In the Package Explorer view, add the .xml file under the model folder in the current cartridge project.

  6. Select Project, then select Clean.

  7. In the Service Action Parameters area, click the row which has an XML type.

  8. Click the XML Value button.

    The XML Parameter Type Source dialog box appears.

  9. Select the .xml file which contains the appropriate parameter values.

  10. Click OK.

    In the Service Action Parameters area, the path of the .xml file appears in the Value column.