My Oracle Support Banner

REST Adapter Add CDATA To Base64Binary (Doc ID 2725771.1)

Last updated on NOVEMBER 15, 2023

Applies to:

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

Symptoms

On : 12.2.1.4.0 version, OSB Core Functionality

ACTUAL BEHAVIOR
---------------
REST Adapter Add CDATA to base64Binary

Have a SOAP Proxy with a new endpoint REST for it (Expose as REST).
  
One field is xsd:base64Binary type.

After upgrade from 12.2.1.2 to 12.2.1.4, the OSB is adding CDATA tag in this field, and sending it to backend (Insert Database).

REST Input:
"conteudoArquivo" : "É arquivão de teste REST-DADOS",

MessageReport:

12.2.1.4 - adding encoding UTF-8 and content-type
application/json;charset=utf-8
<t0:conteudoArquivo><![CDATA[É_0x737063_arquivão_0x737063_de_0x737063_teste_0x737063_REST-DADOS]]></t0:conteudoArquivo>




Cause

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
Symptoms
Cause
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.