Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SOAVIRT_9.10.5_CTP_3.1.1

...

The literal XML is graphically represented in the Form XML mode, giving you a flexible alternative in configuring XML messages. You can add, remove, and rename XML components of the XML message. In addition, if any data sources are available, data source values can be used in configuring XML messages. Any changes made in the Form XML mode will also be made in the Literal mode Literal mode and vice versa.

If Form XML is selected as the SOAP Envelope, the lower part of the panel consists of an XML View Tree and XML Configuration Tabs.

...

Info
titlePopulating the Form Input View from the Literal XML view

If you want a simple way to view and work with an existing XML message (e.g., a sample from developers, traced from the server, from legacy testing tools, etc.), you can copy it into the LiteralviewLiteralview, then open the Form Input view. Once a message is copied into the LiteralviewLiteralview, the Form Input view is populated in a schema-aware and schema-constrained manner that is much simpler to edit, manage, and parameterize.  

...

OptionDescription
Cut/Copy/Paste

Select to cut, copy, or paste an XML node in Form XML. When attempting to paste an element within the root element, a dialog will display asking you whether to replace the entire content, or add as a child.

You can perform cut, copy, and paste operations across multiple XML View Trees. These operations persist parameterization and any other exclude/encode settings.

Insert NewSelect to insert a new Element, Attribute, or Namespace Declaration. Depending on your selection, the corresponding tab will display parameter options. 
Move UpSelect to move a node up within the XML View Tree. 
Move DownSelect to move a node down within the XML View Tree. 
RemoveSelect to remove a node from the tree. 
Encode Child ElementsSelect to encode a subtree of elements as text content for its parent element. If this option is selected for a particular node, all child elements of that node will display as italicized in the Form XML tree, and will be encoded as text within the parent element, rather than as XML. If this option is not selected, child elements will not be encoded and will remain as sub-elements.
Import Schema ElementSelect to choose elements for both the body and the header. After selecting this option, a dialog appears from which you can load declared elements from a schema location. After loading elements, you can select multiple elements for the SOAP header. Once you click OK, a SOAP Envelope will be created based on the chosen element definitions.
PopulateFills SOAP array and element parameters. This also sets any element nils to false and expands them out. This command is only available if the tool is created from a WSDL.
Expand AllSelect to expand all nodes in the XML View Tree. 
Collapse AllSelect to collapse all nodes in the XML View Tree. 
Show NamespacesSelect to view the namespaces within the XML View Tree.
Show AttributesSelect to view the attributes within the XML View Tree.
BeautifySelect to beautify all well-formed XML fragments.
CompactSelect to reformat XML to fit on one line.

...