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!

Oracle 12.1.3.0 SOA : Rest Adapter: How to call 'POST' Rest service with Basic Authorization and bod

Sameer SAug 24 2017 — edited Aug 24 2017

Hi,

I am working on a SOA integration where I would need to invoke a REST service POST operation to which I have to pass the authorization header along with Body content-type as 'application/x-www-form-urlencoded' with key/value pair. (xml_data/complete XML)

REST service has a name and value pair of

'application/x-www-form-urlencoded'

key - "xml_data"

value - complete XML data

Is the new SOA Rest Adapter is compatible with this type of REST invocations or do we have any documents where I can see any example to do it.

I see there is one option where I can mention the request response and it gives me option to choose URL encoded with name/value pair, but not sure how to pass the XML for this name/value pair.

pastedImage_4.png

When Clickin on "Define Schema for Native format".

pastedImage_5.png

pastedImage_6.png

pastedImage_7.png

but not sure how to use this.

thank you.

Sameer

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 21 2017
Added on Aug 24 2017
3 comments
1,163 views