Enterprise Resource Planning Blogs by SAP
Get insights and updates about cloud ERP and RISE with SAP, SAP S/4HANA and SAP S/4HANA Cloud, and more enterprise management capabilities with SAP blog posts.
cancel
Showing results for 
Search instead for 
Did you mean: 
Edrilan_Berisha
Product and Topic Expert
Product and Topic Expert
54,712
This blog post will deal mainly with the issue of how you can call a SOAP API using some widely used software. The software I’m using is a state-of-the-art tool, especially for RESTful APIs, which goes by the name of Postman.

Recently, Postman published a new version, which allows us to also use the WSDL file: Blog Post

In this blog post, though, I will show you in some easy steps how you can test your SOAP API without using the WSDL file.

Now, before we go into the details, you might ask yourself why to use Postman in the first place as we have the popular SoapUI tool. The problem here is that the open source version is collecting data, and therefore, this could not be compliant with your company’s regulation. The pro version does not do that, but here you have to buy the license, obviously.

So, Postman is compliant with probably all companies out there.

Login to your cloud system using your administrator account, which has the right authorization for the Communication Arrangement app. Open the application and search for your communication scenario that is using a SOAP API. In this case, as an example, we will use SAP_COM_0316 which is the communication scenario for posting bank statements via the SOAP API. Then, copy the service URL as shown in the screenshot.


 

Open Postman and create a new collection by clicking on New.


 

Create a new request, give it a name and save it in a new folder.


 

Then, paste the service URL from the Communication Arrangement app into the URL input field. Select the right request type – in this example, we POST something to the cloud system.


 

Select the Authorization tab, choose the authorization type that is needed for your SOAP API communication - in this example, it’s Basic Auth. Enter your credentials for your cloud system.


 

Select the Headers tab and add the Content-Type key with the text/xml value.


Click on the Body tab, select raw and XML and enter your SOAP message in the input field.


That’s pretty much it. Afterwards, you should see if your request was successful (hopefully you received a 200 HTTP response).

In case you need further information on how the SOAP API for bank statement processing looks like, feel free to have a look at our help portal.

Best,

Edrilan Berisha


SAP S/4HANA Cloud Development Financials

7 Comments