My Oracle Support Banner

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

Last updated on NOVEMBER 16, 2023

Applies to:

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


On : version, OSB Transports

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

Oracle Service Bus – REST service uses XML body to hold JSON data
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.


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

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