OSB 12c
Hi, I'm getting an error when I create a new Message Report or if I copy an existing Message Report from the same pipeline and modify it.
The OSB flow was initially created in 11g and converted to 12c and we've been using it intensely.
Now I need to add some functionality and I'm getting an error as soon as I modify the "Content" field of the Message Report. Even adding/removing indentation.
If I simply copy an existing Message Report and past it somewhere all is well.
The moment I modify the copied Message Report's "Content" field and save it I get:
XQuery or JavaScript expression validation failed: The data expression is not defined
I did a compare of the pipelines when I copied the Message Report before I modified it
And after I modified the Message Report (this generates the error I'm getting).
The difference is in the namespace:
BEFORE modifications:
<con6:xqueryText xmlns:con6="http://www.bea.com/wli/sb/stages/config"><![CDATA[<xml-fragment>
<filename-variable>{$filename}</filename-variable>
<sourceSystem-variable>{$sourceSystem}</sourceSystem-variable>
<body-variable>{$body}</body-variable>
<outbound-variable>{$outbound}</outbound-variable>
</xml-fragment>]]>
</con6:xqueryText>
AFTER modifications:
<con1:xqueryText><![CDATA[<xml-fragment>
<filename-variable>{$filename}</filename-variable>
<sourceSystem-variable>{$sourceSystem}</sourceSystem-variable>
<body-variable>{$body}</body-variable>
<outbound-variable>{$outbound}</outbound-variable>
</xml-fragment>]]>
</con1:xqueryText>
Any help would be appreciated.