Thursday 7 February 2019

Setup SoapUI to Test Salesforce Webservice | Configure SoapUI to run SOAP API Calls

In our last Integration post we talk about how to Test REST API using Postman. In this post we will talk about How to Configure SoapUI to run SOAP API Calls

Step 1) Download SoapUI from here.

Step 2) Download the WSDL.

Now download the Enterprise WSDL from your Sandbox/Production or developer Org. Click on Setup-> Search API in Quick Find -> Then select "Generate Enterprise WSDL".

Step 3) Create new SoapUI Project.

Create new SoapUI project . Click on File Menu -> New SOAP Project. Then Add Project Name and Browse WSDL file.

Step 4) Get Session Id. Make a Login Call to Salesforce using SoapUI.

Search the Login Request in new project. Then open the Login XML Request and remove the extra header and add UserName and password. Then click on Green button to submit request.

Step 5) Create a record in Salesforce From SoapUI

Copy the Session Id which we created in Step 4. Then open the create request. Remove the extra tag from request (Header).

<soapenv:Envelope xmlns:soapenv="" xmlns:urn="" xmlns:urn1="">
<!--Zero or more repetitions:-->
<urn:sObjects xsi:type="Account" xmlns:xsi="">
Enter your org Base URL in Request URL and Then click on green button.

Please check our YouTube Channel for SoapUI Configuration to run SOAP API Call

Check Our YouTube Recording Here for Same :-

Amit Chaudhary

Capture.JPG  @amit_sfdc    @ApexHours
  Salesforce Apex Hours 

No comments:

Post a Comment