This section explains how to configure Connector Actions that interact with SOAP Web Services.
Introduction
Some systems still use SOAP APIs (Simple Object Access Protocol) instead of REST APIs.
SOAP is a messaging protocol that uses XML in order to exchange information between computers.
At Locoia, you can integrate SOAP APIs by configuring Connector Actions with SOAP-specific settings.
Creating the SOAP Request Body
Define a valid SOAP XML payload manually in the Request Body Template using Jinja for dynamic fields.
Example Request Body Template
<soapenv:Envelopexmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"xmlns:web="http://webservice.example.com/"><soapenv:Header/><soapenv:Body><web:getDetails><id>{{ id }}</id></web:getDetails></soapenv:Body></soapenv:Envelope>
✅ Ensure correct use of namespaces (xmlns) as per the API specification.
Endpoint Details
Reading Details from the WSDL
The WSDL (Web Services Description Language) file defines:
Available operations (methods)
Expected input and output formats
Required namespaces and endpoints
Use the WSDL to:
Identify operation names
Understand the expected structure of requests
Verify service URLs
📚 In SoapUI, importing the WSDL auto-generates method templates.
Reading Documentation from the XSD
The XSD (XML Schema Definition) describes:
Data types (string, int, boolean)
Field validations (e.g., minLength, maxLength)
Mandatory and optional fields
XSDs are often referenced inside WSDLs and explain how the body structure should be composed.
Testing Requests
Testing with SoapUI
To read out all the endpoint details of a SOAP API, you can use a tool such as SoapUI (download SoapUI Open Source).
Create a new SOAP project
Make sure that Create Requests is turned on. This way the tool will create sample requests for you with the correct structure, where you simply have to fill in the parameters.
New SOAP Project dialog
Import the WSDL
Load the WSDL file provided by the API. SoapUI will parse the available methods and message formats.
SoapUI generates available operations
All available operations (endpoints) will appear automatically after importing the WSDL