Oracle SOA Suite (MOSC)

MOSC Banner

JSON format issue in BPEL 12c

edited Jan 8, 2020 8:26AM in Oracle SOA Suite (MOSC) 7 commentsAnswered

Hi,

I was trying to pass translated string( xml to native json) to a JSON Rest reference created in BPEL 12c but it is failing with a 400 bad request. Have observed that JSON payload sent in the request is containing "/n" new line character and escape characters. How can we fix this?

Steps followed to reproduce this issue:

1)Create a REST reference(without choosing the WSDL interface)

2)Configure the REST bindings with JSON payload in the Request and Response

3)A native schema is created with a sample JSON ( payload to be sent to the REST reference)

4)In the BPEL, two JSON string variables are created for request/response to the REST reference

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