cancel
Showing results for 
Search instead for 
Did you mean: 

Rest adapter

former_member190284
Participant
0 Kudos

Hi people


I have done integration from rest to proxy

but now they want to send img though rest channel

Is it possible in sender rest adapter?

or they any speicific  builtin module i can use?

THanks

Accepted Solutions (0)

Answers (2)

Answers (2)

manoj_khavatkopp
Active Contributor
0 Kudos

Nunu,

How are they planning to send image ? as anattachment if yes then AFAIK rest is not capable of attachments.

you can ask them to convert img into binary/bas64 and send it into one of the field .

Br,

Manoj

former_member186851
Active Contributor
0 Kudos

you correct Manoj, attachements are not supported by Rest

REST Adapter Overview - Advanced Adapter Engine - SAP Library

former_member190284
Participant
0 Kudos

Hi Manoj, Raghu

Thanks for the reply

actually scenerio is from rest..> proxy synchromous

so they are sending image as an attachement

Is it is possible??

If not, only sending a image as field is the only viable solution??

manoj_khavatkopp
Active Contributor
0 Kudos

Nunu,


so they are sending image as an attachement

Is it is possible??

No rest is not capable of handling attachments .

If not, only sending a image as field is the only viable solution??

Yes they can convert the imgae into binary/base65 fomrat and send to Pi and then PI can covert this into image and send it as an attachment to proxy or else you can send the binary/base64 as it it to Proxy and ABAP'r can later convert this into image.

Br,

Manoj

former_member186851
Active Contributor
0 Kudos

No Nunu, Attachement handling is not possible you can check the link I shared.

What is your current design? are you using SOAP adapter?

If yes would suggest to continue as from the WS they need to change the format as Manoj suggested.

former_member186851
Active Contributor
0 Kudos

Hello Nunu,

Which version of SAP PI your having and which adapter u were using for Image?

If you Rest adapter you can configure and use.

Check the below link ,it has details and scenarios of Rest adapter.