This page is maintained for older versions of Rapise only. The latest documentation can be found at: https://rapisedoc.inflectra.com
Ribbon: SOAP

Screenshot

ribbon-soap

 

Purpose

The SOAP tab is for use with editing SOAP web service definition files (also known as Web Service Definition Language (WSDL) files).

 

How to Open

The SOAP tab is available anytime you have a SOAP definition file (.soap) file visible in the Content View.

 

File

ribbon-soap-file

·Save - Saves the current set of SOAP operations to the .soap file being edited.

 

Endpoint

ribbon-soap-endpoint

The Endpoint section lets you enter in the URL to the SOAP Web Service Definition Language (WSDL) file that contains a definition of all the SOAP operations exposed by the web service.

You enter in the URL in the top box and then click the Get WSDL button.

 

You can click on the Custom Endpoint button to toggle the display of the custom endpoint text box. This lets you override the default URL returned by the WSDL file and can be useful if you want to use the WSDL from one instance and invoke the operations against a different instance.

 

Script Steps

 

ribbon-soap-scriptsteps

The Script Steps section of the SOAP ribbon lets you see the list of recorded SOAP operations and use them to create your test script in the main test file.

·Create Script - This takes all of the recorded steps and automatically creates the matching JavaScript code in your test script.

·Remote Step - This removes the recorded step from the script box

·Clean - This removes all of the recorded steps from the script box.

 

Each of the steps displayed in the script box will contain the name of the SOAP operation along with the specified parameters in JSON format. Steps displayed in bold with an asterisk also have a verification point recorded. That means when the script is generated, it will include Tester.Assert functions to verify the results.

 

HTTP

ribbon-soap-http

·Add Credentials - Allows you to add an HTTP basic authentication credential (username and password) to the SOAP operation. This is useful for SOAP operations that use HTTP basic authentication.
 

tutorial_web_services_pic6