+

Search Tips   |   Advanced Search


Stub operation details

Stub operation elements describe the format of the call that the service stub expects to receive. There is one stub operation for each operation that was detected in the WSDL specification. Each stub operation contains at least one default case element, or several case elements describing the response of the service stub depending on the incoming calls. The information from the stub operation element can be used for data correlation.This page presents the XML or text contents of the call and provides access to data correlation. The same contents are presented in Form, Tree or Source view.

Form

This view provides a simplified view of the message focused on editing the values of the XML content.

Tree

This view provides a hierarchical view of the XML structure of the message, including elements, namespaces, and the associated values. You can use Add, Insert, Remove, Up, and Down to edit the XML elements and namespaces in the tree.

Click Filter to hide or show namespace, attribute, or text nodes, depending on requirements.

Click Allow only valid modifications to enable smart editing, based on a specified XML schema document (XSD).

To specify a set of XSD documents for the workbench, in the test navigator, right-click the project and select Properties and Schema Catalog. Disable Allow only valid modifications if you do not have an XSD or to bypass the schema.

You can right-click an XML element to convert it to an XML fragment. This enables you to perform data correlation (use datapools and create references) on the entire XML fragment instead of only on the value.

Source

This view displays the source XML content of the message or plain text content.

In the Source view, do not edit the tags that start with SoaTag. If you delete or change these tags, any references and substitutions in the test will be broken. You cannot recreate these tags after you delete them.


Related reference

  • Stub case details
  • Stub response details