Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

calling REST service with xml data and attachment: SOA Suite 11g

sameer hMar 17 2017 — edited Mar 27 2017

Hi

I have a requirement to call a REST service and POST an xml to it and at the same time send a JPEG image as multipart/form-data (in SOA Suite 11g).

In BPEL there is an HTTP adapter but look like its quite basic and doesn't really handles such multipart data.

I need some pointers on how to achieve this functionality.

Is it possible with just BPEL (http adapter)?

If OSB is more suited for this task then how do I pass xml data and image at the same timeĀ  to OSB service from BPEL?

And then in OSB, how do I create multpart/form-data to POST both xml and jpeg image.

Thanks.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 24 2017
Added on Mar 17 2017
7 comments
1,249 views