Service message return details
In the test editor, message return elements are located after each service call. Message returns describe the expected content returned by the service. You can use the information in the message return element for data correlation.You can automatically generate or update the contents of a message return by clicking Update Return in the call element.
Message
This page presents the XML contents of the request and provides access to data correlation. The same contents are presented in three different manners.
- 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.
Attachments
This page lists the MIME attachments that are attached to the request. The contents of this view correspond to the specification of Multipurpose Internet Mail Extensions (MIME). You can use this page to add workbench resources as MIME attachments and change properties.
To use Web service attachments, add a set of Java™ libraries to the Java Runtime Environment (JRE) that the workbench uses. See Configure the environment for handling file attachments for more information. The Content ID is the identifier that the request uses to refer to the attachments. The method for using this identifier depends on your server requirements.
- Use MTOM transmission mechanism
- By default, the request uses SOAP Messages with Attachments (SwA) to handle attachments. Select to handle attachments with the SOAP MTOM.
Response Properties
This page lists the names and values of properties of the response.
Related reference
Service test details Service call details XML call details Service verification point details Service callback details Service timeout details Service parallel details Service receive details