There are several views selected in processing SOAP request and response messages. Let's take a look at these two.
Request Message
- XML --A text view of the standard underlying XML message
the Validate option verifies that the current message found an error:
(this line number is always open in the editor)
- RAW --Displays the actual bytes of the last send message including HTTP headers, MIME attachments, and so on:
Use this view to check property-expansions, filter results, and so on. The content here should be the same as the main Soapui window at the bottom of the http log:
- Outline editor
Displays a tree view of the underlying XML message:
(The right column shows the value of the pattern type)
Here you can edit the value of an existing element/attribute, but you cannot add or remove nodes from an existing tree.
Form Editor The form editor displays the basic requirements for a user-friendly input form, making it significantly easier to enter content in the XML editor:
Inserting DataAll editable fields have a right-click menu "Get Data" that will automatically insert Property-expansion to the selected property. For example, if we want to use the project-level "SubscriptionId" subscriptionid field to require Amazon Web services, we can right-click the field in the corresponding form editor:
Here we select the "SubscriptionId" attribute defined at the project level in our project:
Response MessageThe response message provides a corresponding view:
- xml--shows the contents of the XML Response message:
The right-click menu here is more limited, but you can still edit the actual message to use the relevant assertions and scripts.
- RAW --Shows the response message for the original byte:
- Outline (soapui Pro only): Displays a tree view of a read-only response message:
- Overview (Soapui Pro only): Displays a user-friendly rendering response:
The URL in the Response message field will be clickable to open the external browser.
WSDL Project---processing messages