Skip to Content
Author's profile photo Ricardo Viana

How to test message PI AEX without backend

Hi Dear friends,

After very long time I´m here to share something interessting that you can find similar in the blog

I will show more step by step that can be used for any case (situation with others plataforms also, it´s just for dont wait finish all backend part for test point-to-point), my current case its related with SalesForce using REST adapter to send via RFC data about login dinamic to receive the tokenid or sessionid from SalesForce Clould Plaform.

As you can see on integration diagram below –  The start point will be SoapUI instead off SAP ECC.


To make this test you must have ESR and DIR done and as a sender one adapter SOAP – HTTP as the image below – DUMMY adapter:

  • Configuration of Sender SOAP – HTTP:

PS:. Do not forget do mark Best Efforce Service

The end point is Sales Force with dinamic adress that data will comes from SAP ECC via RFC depend of the user.{client_id}&client_secret={client_secret}&username={username}&password={password}

The adapter for Sales Force in this case is not SOAP, will be rest with many configuration, the first will be to show how to make this adress above correct via data inside XML file.

Those values will be insert on the adapter enginne at runtime via xpath configuration as you can see below:





When we are talking about JSON, it´s not XML file so we need configurate also in the adapter:

  • Adapter receiver channel REST – Method POST:

Now a verry important part of the adapter REST configuration, the asnwer of Sales Force will be:

  • Json Message Sales Force Response:


access_token“: “00D3B000000DWav!AQsAQIiLveS6.7rE0MA8kmdkE.eHx.OqicB4WMVVEDHMjycMhpZ6WVXVz9Rk7_5MssLs2FZXiIKIJSAA4n1E05wv1dTFVa2p
instance_url“: “
token_type“: “Bearer
issued_at“: “1509140645799
signature“: “UIL3ieCiGg2DMvM5engIhoTN4ruyWkzYF4c9CCYQDZM=


I did the convertion using the online tools to XML and create a very similar stucture at SAP PI

  • Message Type Response:

So as you can see above there are JSON format and XML format, it means that the sturcture are different because one there is no PepTokenResponseLogin as root, so we need make this configuration at channel also in the button – “Add Wapper Element”:

In the blog of Michal Krawczyk he shows the address:


This adress you can generate via ICO:

  • Right click on the ICO Scenario and generate WSDL:

Soap format of adress of start point:

Import the WSDL into SOAPUI Software, in my case show the RFC structure, remeber the scenario here its RFC to JSON

  • Test:

Don´t forget to adapt this to your project perspective and I hope somehow help you to test messages/interfaces in SAP PI AEX 7.31+ without waiting Basis missing configurations or abap development.

Kind Regards,

Ricardo Viana.



Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Nice blog. Soap ui provides more features.

      One can also use wasnavigator to test

      Author's profile photo Ricardo Viana
      Ricardo Viana
      Blog Post Author


      Verry nice trick also ! 

      Author's profile photo Rajesh PS
      Rajesh PS

      Hello Ricardo Viana,


      Nice blog.

      But this is still sending as HTTP url parmaters and any idea on how to send it under HTTP Body parameters.