Oracle SOA Suite (MOSC)

MOSC Banner

How To configure REST adapter Which Accepts Request Body In "application/x-www-form-urlencoded" cont

edited Apr 10, 2020 5:03AM in Oracle SOA Suite (MOSC) 4 commentsAnswered

Hi All,

I am trying to invoke external REST endpoint to access a token information first. I was successfully able to invoke from POSTMAN. Attached is the screenshot of how i invoked from postman and I am trying to replicate the same from OIC. Here are the steps i followed.

1. I created the REST connection with external service URL

2. I had configured the connection credentials and tested successfully.

3.I dragged the REST connection and configured REST adapter. Attached is the document about configuration

I tried configuring the standard and custom headers for request as shown in the screenshots. when i am trying to invoke i got an error saying "Configured content-type is [application/json] but actual content-type is [application/x-www-form-urlencoded]Target REST endpoint response payload processing failed".

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center