My Oracle Support Banner

Oracle Service Bus 12.2.1.3 -REST Service Uses XML Body To Hold JSON Data (Doc ID 2829486.1)

Last updated on DECEMBER 27, 2021

Applies to:

Oracle Service Bus - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Goal

On : 12.2.1.3.0 version, OSB Transports

Oracle Service Bus 12.2.1.3 -REST service uses XML body to hold JSON data

Oracle Service Bus 12.2.1.3 – REST service uses XML body to hold JSON data
Issue:
Steps to reproduce:
1. Created OSB composite with REST adapter.
2. Added log (for testing purpose configured log Severity as Error) in pipeline.
3. Deploy and test the composite

Even though I used JSON data ({"new":"ved"}) as input for the composite, observed the log displayed the body wrapped with xml Body.
 
< [Pipeline Pair Node1, request-a060e90.2b1c5c70.0.17d2c505ea4.N7f6e, Stage1, REQUEST] **********************Example::{"new":"ved"}>
 

Customer wants to know if this is expected behavior.
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.