Os elementos de operação de stub descrevem o formato da chamada que o
stub de serviço espera receber. Há uma operação de stub para cada operação que foi
detectada na especificação WSDL. Cada operação de stub contém pelo menos um elemento de caso
padrão ou vários elementos de caso que descrevem a resposta do stub de serviço, dependendo
das chamadas recebidas. As informações do elemento de operação de stub podem ser usadas
para correlação de dados.
Essa página apresenta o conteúdo XML ou de texto da chamada e oferece acesso à correlação
de dados. O mesmo conteúdo é apresentado nas visualizações
Formulário,
Árvore ou
Origem.
- Form
- This view provides a simplified view of the message that focuses
on editing the values of the XML content. Use the Schema menu to enable assistance with editing XML content so that the XML
is valid and complies with the XSD specification.
In the Form view, add the XML headers that are required for standard
web service calls. On the Header bar, click Add (
) to create the default
XML header structure for WS-Addressing, WS-ReliableMessaging or WS-Coordination
requests, or click More for other standards.
You can enable or disable XML header elements and specify the correct
values for each XML element. Checks are performed to ensure that the
XML content is valid.
Nota: To add XML headers to calls in IBM® Rational AppScan, add a Static XML Headers algorithm
on the Request Stack tab of the request.
- 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 your 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 if you want 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.
Importante: 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.