Content not allowed in prolog error in Service Bus Assign action
Last updated on SEPTEMBER 26, 2016
Applies to:Oracle Service Bus - Version 184.108.40.206.0 and later
When a transformation using XSLT is attempted, sometimes the error below is raised:
BEA-382510: OSB Assign action failed updating variable "runtimeInstance": javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Content is not allowed in prolog.
This problem does not occur on Windows platform.
Findings show that manually adding a carriage return (or even a space) within the first approximately 5800 characters of the XML will result in a successful transformation.
There are no special characters within the content of the message itself.
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