Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Content is not allowed in prolog

Eric ElzingaFeb 21 2011 — edited Oct 4 2011
I have the next osb process

incoming message -> replace (xsl) -> database adapter request
database adapter response -> replace (xsl) and this output i send back as the response of the osb process.

but...for some reason the xsl transformation fails with the next error message :
OSB Replace action failed updating variable "body": javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Content is not allowed in prolog.

i have checked the xsl for any problems but couldn't find any, also when i test the xsl in the console it tranforms the xml into a correct xml document

things i checked
any whitespaces before the '<?xml version='1.0' encoding='UTF-8' ?>' element
any weird characters in the payload xml

any other things i could check ?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 1 2011
Added on Feb 21 2011
10 comments
3,272 views