Skip to content

SOAP

Right-click in the tree ▸ Add ▸ SOAP request.

A SOAP tab: the service URL, the service / operation / SOAPAction row, and the XML envelope in the editor

FieldRole
URLThe service’s endpoint
SOAPActionThe operation’s SOAPAction header
Service / OperationThe names taken from the WSDL, used for dispatch and display
BodyThe raw SOAP envelope, in XML
HeadersThe transport’s HTTP headers

The envelope is editable as it is, with syntax highlighting and reformatting. {{variables}} work in it as usual.

This is the recommended route: File ▸ Import a .wsdl (or a WSDL URL) builds one folder per service and port, one request per operation, with SOAPAction filled in and an envelope pre-populated from the schema — plus the API documentation and the enumerations. See Importing a WSDL.

A <soap:Fault> response is displayed as such: Restorm does not settle for an opaque HTTP 500 status, the fault’s content is highlighted in the response panel.

Restorm can host a mock SOAP service. Each mocked operation is matched by SOAPAction first, failing that by the name of <soap:Body>’s first child. An operation can be marked as a fault, which makes it reply with a <soap:Fault> and an HTTP 500 status. See Mocking a SOAP service.

Fifteen targets, including the “SOAP client” and “raw HTTP” variants of each ecosystem: cURL, JavaScript (Fetch, the soap npm package), TypeScript, Python (zeep, raw Requests), C# (WCF, raw HttpClient), Java (JAX-WS, raw HttpURLConnection), PHP (SoapClient, raw cURL), Ruby (savon), Go (net/http), PowerShell.