Set up SoapUI for Redtrust SOAP APIs
This guide explains how to configure SoapUI to make requests to any Redtrust SOAP API that uses the /basic endpoint.
Before you begin
- SoapUI installed.
- The WSDL URL of the service you want to connect to.
- Credentials of a Redtrust admin user.
Step 1: Create the SOAP project
- Open SoapUI and click SOAP.
- In New SOAP Project, add the WSDL URL as the Initial WSDL:
- Administration API:
https://YOUR_REDTRUST_IP:8888/RTAdminService.svc?wsdl - DSS API:
https://YOUR_REDTRUST_IP:8080/RTDSSService.svc
- Administration API:
Step 2: Configure WS-Security
- Click the project name. In the configuration window, click WS-Security Configurations (third tab).
- Click the green
+icon and add the username (for example,admin). - Click the second green
+icon and selectUsername. - Add
YOUR_USERNAME@YOUR_DOMAIN(for example,admin@local.users). Close the window to save your changes.
Step 3: Add the endpoint URL
- Click the
+icon next to any method and double-click Request 1. - Add the
/basicendpoint URL:- Administration API:
https://YOUR_REDTRUST_IP:8888/RTAdminService.svc/basic - DSS API:
https://YOUR_REDTRUST_IP:8080/RTDSSService.svc/basic
- Administration API:
Step 4: Configure authentication on each request
Repeat these steps for each request you make:
- Select the Auth tab at the bottom.
- In the Authorization menu, select Add New Authorization > Basic and enter the admin user credentials.
- Go to Outgoing WSS and select the user you configured in step 2.
- Select the WS-A tab and check Add default wsa:Action and Add default wsa:To.