스텁 조작 세부사항

스텁 조작 요소는 서비스 스텁이 수신할 것으로 기대하는 호출 형식을 설명합니다. WSDL 스펙에서 발견된 각 조작을 위한 하나 스텁 조작이 있습니다. 각 스텁 조작에는 수신 호출에 따른 서비스 스텁의 응답에 대해 설명하는 최소 하나의 기본 케이스 요소 또는 여러 케이스 요소가 포함됩니다. 스텁 조작 요소로부터의 정보는 데이터 상관에 사용될 수 있습니다.
이 페이지는 XML 또는 호출의 텍스트 컨텐츠를 제공하고, 데이터 상관에 대한 액세스를 제공합니다. 동일한 컨텐츠가 양식, 트리 또는 소스 보기에서 제공됩니다.
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 (Add button) 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.

참고: To add XML headers to calls in IBM® Security 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.

Use Skip if Empty column to select the empty XML elements that you want to skip. This column is visible only if you selected the Display the 'Skip if Empty' column in XML tree viewer check box in Window > Preferences > Test > Test editor > Service test.

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. To format XML content, click Format XML text. To wrap XML content into a single line, click Pack XML text to single line. Similar controls are available for JSON 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.

피드백