Error When Using NativeXSD Translation JSON To XML

(Doc ID 2340879.1)

Last updated on JANUARY 04, 2018

Applies to:

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

Symptoms

While trying to use nsxd translation action on a pipeline. the customer wants to make translation of $body variable (json type) to XML.

but the following error appears :
  {
"errorMessage": "Input to native to XML nXSD translation is invalid." ,
"errorCode": "OSB-382561"
}


on the log file they have this error:

com.bea.wli.sb.pipeline.PipelineException: Input to native to XML nXSD translation is invalid.
at stages.transform.runtime.NXSDTranslationRuntimeStep.getBinarySourceStream(NXSDTranslationRuntimeStep.java:462)
at stages.transform.runtime.NXSDTranslationRuntimeStep.transformNativetoXML(NXSDTranslationRuntimeStep.java:318)
at stages.transform.runtime.NXSDTranslationRuntimeStep.processMessage(NXSDTranslationRuntimeStep.java:172)
at com.bea.wli.sb.stages.StageMetadataImpl$WrapperRuntimeStep.processMessage(StageMetadataImpl.java:384)
at com.bea.wli.sb.stages.impl.SequenceRuntimeStep.processMessage(SequenceRuntimeStep.java:33)


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