Print this page

Configure SoapUI to Run SOAP API Calls

Knowledge Article Number 000231519
The Salesforce Marketing Cloud utilizes multiple APIs that can all be utilized to perform various actions. These APIs use separate WSDLs and Endpoints than the Sales and Service Cloud APIs.  Let's get started with utilizing the most basic interface, SoapUI.

Configure the SoapUI

1. Download SoapUI Open Source.
2. Paste the WSDL Link that corresponds to your Marketing Cloud Instance.
3. Name your project.
4. Click File | New SOAP Project
5. After installation completes, open SoapUI.

Once the WSDL populates the available Methods, you can expand any of the Methods, open up the default "Request 1" that's available, and begin working with the API.

Sample Triggered Send Request

This will utilize the Create method and you'll need to have Triggered Sends setup within your Marketing Cloud account. 

Note: Review the attached screenshot for further clarification on where each segment of code should appear.

<soap:Envelope xmlns:soap="" xmlns:ns1="" xmlns:xsi="">
      <wsse:Security soap:mustUnderstand="1" xmlns:wsse="">
            <wsse:Password Type="">PASSWORD</wsse:Password>
      <CreateRequest xmlns="">
         <Objects xsi:type="TriggeredSend">
            <PartnerKey xsi:nil="true"/>
            <ObjectID xsi:nil="true"/>
               <PartnerKey xsi:nil="true"/>
               <ObjectID xsi:nil="true"/>
               <CustomerKey>TRIGGERED SEND CUSTOMER KEY</CustomerKey>
               <PartnerKey xsi:nil="true"/>
               <ObjectID xsi:nil="true"/>
               <EmailAddress>RECIPIENT EMAIL ADDRESS</EmailAddress>
               <SubscriberKey>RECIPIENT SUBSCRIBER KEY</SubscriberKey>
                  <Name>First Name</Name>

If the steps above were completed properly, testing with the Triggered Send call above should return a Response similar to this next sample: 
<soap:Envelope xmlns:soap="" xmlns:xsi="" 
xmlns:xsd="" xmlns:wsa="" 
         <wsu:Timestamp wsu:Id="Timestamp-2f5a6c0f-5df4-4326-8dc2-6a413595ba9f">
      <CreateResponse xmlns="">
         <Results xsi:type="TriggeredSendCreateResult">
            <StatusMessage>Created TriggeredSend</StatusMessage>

This response, if successful, will include an OK and a Status Message indicating the results of the action performed. In this example, you'll see "Created TriggeredSend" noted. 

Important Icon Important: Receiving only an OK response and no status message indicates that the Marketing Cloud system didn't find any Syntax errors with the submitted call, but something required is missing, like a required Attribute, etc. 


Getting help from Marketing Cloud Support

  • If you need help from Support regarding SOAP API Issues, Support will request the entire SOAP Envelope in order to replicate the issue. This SOAP Envelope should include both the submitted Request, as well as the response received from the MC System.
  • If you're utilizing a PHP, .NET, or Java platform, the SOAP Envelope can be retrieved when requested by Support.  

Want to learn more? Review our Help documentation about Objects and find Technical Articles with code samples.

Name Type Size

promote demote