Input Payload Validation Issue In REST Adapter In 12.2.1.3

(Doc ID 2356363.1)

Last updated on FEBRUARY 07, 2018

Applies to:

Oracle SOA Suite - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

When JSON fields have values null which is optional, the JSON request fails based on the following error,


{
  "RestFaultElement": {
  "summary": "Translation Failure.\nFailed to translate JSON to XML. cannot normalize!\nThe incoming data does not conform to the NXSD schema. Please correct the problem.\n",
  "code": null,
  "detail": null
  }
}

 

Following error is seen the logs:

Caused by: java.lang.IllegalArgumentException: cannot normalize!
at oracle.tip.pc.services.translation.xlators.json.util.JsonUtil.normalizeJsonValue(JsonUtil.java:121)

 




Cause

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 hundreds of Community platforms