cancel
Showing results for 
Search instead for 
Did you mean: 

JSON message with SAP PO File/JMS Adapter

Former Member
0 Kudos

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?

Thanks,

Prem

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi ,

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

Thanks

Prem

Former Member

https://help.sap.com/doc/5cf7d2de571a45cc81f91261668b7361/7.5.7/en-US/c80bd82a4a4c4408925110371b9a76...

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

http://host:port/RESTAdapter/Customer_list

sample blog(sender rest)

https://blogs.sap.com/2016/03/25/sap-pipo-rest-sender-adapter-configuration-for-web-proxyodata-servi...

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.

Former Member
0 Kudos

Thank you for the details.

Answers (0)