Skip to Content

JSON message with SAP PO File/JMS Adapter

Oct 30, 2017 at 10:28 AM


avatar image

Hello Team,

I have a requirement where the XML message coming from ECC Proxy need to send as a JSON file to a File/JMS location. To achieve the same, I am thinking of routing the XML message as follows.

1st Flow : SAP ECC ---(SOAP Sender) ----> (REST Receiver)

2nd Flow: REST Sender------------> FILE/JSON Receiver

The REST Receiver adapter in the 1st flow will take care of JSON Conversion.

Could you please help me with the details of how to configure the REST Receiver and Sender Adapters, in this case, to route the message internally within the Adapter Engine?



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
sapbinary key Oct 30, 2017 at 11:00 AM

Make it Proxy to File/JMS, use java mapping to convert xml into json. you dont need rest adapter.

If you want it, then loop it.You will have to use second scenario without mapping.

interface 1

ECC proxy --PI--Rest(points to PI sender adapter)

interface 2

Rest(sender channel) --PI--Jms/File

Show 3 Share
10 |10000 characters needed characters left characters exceeded

Hi ,

Could you please give an idea on how the REST Receiver Adapter can be pointed to REST Sender ?




for example you would define your sender rest adapter url as below


sample blog(sender rest)

Now you will mention the sender url(http://host:port/RESTAdapter/Customer_list) in receiver rest adapter

You seem to be new to rest adapter, better to read sender and receiver adapter configuration.

Keep the Qos as EO for both the scenarios and use Post operation.


Thank you for the details.