My Oracle Support Banner

Translate Activity Generates "\n" Characters Which Are Not Valid JSON Characters (Doc ID 2306167.1)

Last updated on MAY 11, 2018

Applies to:

SOA Suite Cloud Service - Version N/A and later
Information in this document applies to any platform.


While Invoking a REST API which accepts JSON payload as an I/P. Customer used the Translate activity to convert the XML to JSON by using Nativexsd. But when they are assigning this converted JSON to a json:object/json:string variable they are getting the following result "{ \"vmr\" : { \"vmrdetails\" : " Because of which the Invoke to REST API is failing.

The issue can be reproduced at will with the following steps:
1. Convert an XML Payload to JSON and invoke the REST service




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

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

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