Skip to main content

Send SOAP request

Send a SOAP envelope (or just the body, which is wrapped for you), or build the request from the service's WSDL, and return the response.

Command in the SOAP Web Service toolkit · id ooa.soap/send · 49 inputs, 5 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Address (URL)StringNoService endpoint URL, or a path when base_url (or a connection) gives the address. When the body is built from a WSDL, empty uses the address the WSDL gives.
BodyStringNoFull SOAP envelope, or only the body XML (it is wrapped automatically); it may also come from the vault as a whole (G6).
Soap actionStringNoSOAPAction header (from the WSDL); when the body is built from a WSDL, empty uses the operation's own.
VersionStringNo1.1SOAP version; when the body is built from a WSDL, the port's own version is used.
HeadersDictionaryNoExtra HTTP headers.
Basic userStringNoBasic auth user name.
Basic passwordCredentialNoBasic auth password from the vault.
Timeout (seconds)NumberNo60Response timeout.
Allow untrusted certificatesBooleanNofalseAccept any server certificate (self-signed or expired); for test systems only.
ProxyStringNoProxy server as host:port; the runner's settings when empty.
Proxy userStringNoProxy user name, when the proxy needs a sign-in.
Proxy passwordCredentialNoProxy password from the vault.
Client certificateFileNoClient certificate (.p12 or .pfx) for servers that require mutual TLS.
Client certificate passwordCredentialNoPassword of the client certificate file.
XPathStringNoAlso return the text of the response nodes this XPath selects, in values.
Output fileFileNoAlso save the response XML to this file.
Fail on errorBooleanNotrueFail the step on a SOAP fault or HTTP error; when false the status and response are returned.
Bearer tokenCredentialNoBearer token from the vault.
Windows sign-inStringNoWindows sign-in (NTLM or Kerberos) for intranet sites, SharePoint on premises, IIS and Exchange: current_user signs in as the runner's Windows account (Windows runners); user_password uses basic_user (DOMAIN\user) and basic_password.
OAuth token address (URL)StringNoOAuth 2.0 token endpoint; the request is sent with a token fetched there (kept for the run and renewed before it expires).
OAuth client IDStringNoOAuth 2.0 client (application) id.
OAuth client secretCredentialNoOAuth 2.0 client secret from the vault; needed for client credentials, optional with a refresh token.
OAuth refresh tokenCredentialNoRefresh token from the vault: signs in with the refresh-token grant instead of client credentials. A new refresh token from the server is used for the rest of the run and returned as refresh_token.
OAuth scopeStringNoScopes to ask for, separated by spaces.
OAuth audienceStringNoAudience sent to the token endpoint (some providers, e.g. Auth0, need it).
OAuth resourceStringNoResource sent to the token endpoint (e.g. Microsoft Entra v1 and AD FS).
OAuth client sign-inStringNobasicHow the client id and secret reach the token endpoint: basic (HTTP Basic header, the OAuth standard) or body (form fields client_id and client_secret).
OAuth 1.0a consumer keyStringNoOAuth 1.0a consumer key: the request is signed (RFC 5849).
OAuth 1.0a consumer secretCredentialNoOAuth 1.0a consumer secret from the vault.
OAuth 1.0a tokenCredentialNoOAuth 1.0a access token from the vault; empty for a consumer-only (two-legged) request.
OAuth 1.0a token secretCredentialNoOAuth 1.0a token secret from the vault.
OAuth 1.0a signature methodStringNoHMAC-SHA1OAuth 1.0a signature method.
Windows user nameStringNoWindows (NTLM) user name for intranet sites, IIS, SharePoint on premises and Exchange.
Windows domainStringNoWindows domain of the NTLM user; empty when the user name already has it (DOMAIN\user or user@domain).
Windows passwordCredentialNoWindows password of the NTLM user, from the vault.
Endpoint addressStringNoAddress the URL is relative to, so the URL can be a path such as /invoices/42; a saved connection usually gives it.
WsdlStringNoBuild the request from this WSDL (address or .wsdl file) instead of writing the XML (G6).
ServiceStringNoService in the WSDL; empty when it has only one or any will do (G6).
PortStringNoPort of the service (it fixes the address and SOAP version); empty for the first that offers the operation (G6).
OperationStringNoOperation to call, as Read WSDL lists it (G6).
ParametersDictionaryNoValues of the request's fields: field name (or a path such as Customer/Name) to value; a value may be a Credential, and a list repeats the field. Optional fields left out are dropped (G6).
NamespaceStringNoNamespace for the operation's element in place of the WSDL's (G6).
PrefixStringNonsPrefix written for that namespace (G6).
Qualify elementsBooleanNoWhether the fields inside the operation carry the namespace too; empty follows the WSDL's schema (G6).
Replace in bodyDictionaryNoPlaceholders in the body filled just before sending: name to a Credential (or text); every {{name}} in the body becomes the value, which stays masked in the log (G6).
XPath outputStringNovaluesWhat xpath returns: values (a list of the nodes' text), joined (their text as one text, separated by delimiter), inner_xml (the XML inside the nodes) or outer_xml (the nodes with their own tags) (G6).
DelimiterStringNopipeWhat separates the joined values: none, pipe (|), semicolon (;) or custom (G6).
Custom delimiterStringNoText that separates the joined values (G6).
Trust certificateFileNoCertificate of a private certificate authority (.cer, .crt or .pem) to trust as well as the usual ones, so a company server's certificate is still checked without insecure_tls (G6).

Outputs​

OutputTypeWhat it is
statusNumberHTTP status code.
responseStringResponse XML.
bodyAnyThe first element inside the SOAP Body, as a dictionary.
valuesListText of the nodes selected by xpath (their inner or outer XML with those xpath_output choices); empty without xpath.
textStringWith xpath_output joined, inner_xml or outer_xml: the selected nodes as one text; empty otherwise (G6).