cancel
Showing results for 
Search instead for 
Did you mean: 

Rest Adapter - Getting response message as test/csv format

Former Member
0 Kudos

Hello Experts,

We have a scenario where we are making a call to rest webservice from SAP PI and in response Rest webservice is sending response in the format of test/csv. WE need to transform the response test/csv and map it to the response structures of source(SAP) system.

SCenario -

Request message : ECC(Proxy) --> SAP PI --> Rest WebService(Concur)

Response message : Rest Webservice(Concur) -->SAP PI -->ECC (Response structure)

We are using Advantco Rest adapter to consume concur webservice(rest api).

Request you to provide any inputs on handling this.

Many Thanks

Narayanareddy B

Accepted Solutions (0)

Answers (1)

Answers (1)

RaghuVamseedhar
Active Contributor
0 Kudos

Narayana,

Can you use MessageTransformBean to convert CSV to XML in modules tab?

Former Member
0 Kudos

Hi Raghu,

Thanks for your reply.

My scenario is a synchronous ones and the response is coming as test/csv file. How to transform the response test/csv file to XML using MessageTransformBean module.

Many Thanks

Narayanareddy B

RaghuVamseedhar
Active Contributor
0 Kudos

Narayana,

Modules can be added to synchronous messages. Link. Module is added to SOAP channel. Similarly module can be added to Advantco Rest adapter.