Skip to main content
Version: 5.1

Call a SOAP API

Call SOAP API sends a SOAP envelope through a soap11:Client or soap12:Client connection and returns the response envelope as xml. Like every activity, the call is recorded, so a restart replays the recorded response instead of calling the service again.

Use it to reach the SOAP services that legacy systems still expose, without writing an activity function to wrap the client.

Fields​

FieldRequiredDescription
ConnectionYesThe SOAP client to call through. Both SOAP 1.1 and SOAP 1.2 connections are offered.
BodyYesThe SOAP envelope, as xml.
ActionFor SOAP 1.1The SOAPAction header. Required for SOAP 1.1 endpoints, optional for SOAP 1.2.
HeadersNoAdditional HTTP headers. Under the advanced fields.
PathNoPath appended to the connection's base URL. Under the advanced fields.
ResultYesThe variable that receives the response envelope.

Approval Policy, Retry Policy, and Check Error work the same as for every prebuilt activity. See Prebuilt activities.

SOAP 1.1 and SOAP 1.2​

The activity accepts either client, and the only difference is Action:

VersionAction
SOAP 1.1Required. The call fails with an error when it is missing.
SOAP 1.2Optional, because the action can travel in the content type instead.
Multipart responses

The activity returns xml. An endpoint that answers with a multipart message fails with an error instead. Write your own activity around the SOAP client when you need to read mime:Entity[] payloads.

Next steps​

On this page
Was this page helpful?
Report an issue