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!

XQuery or JavaScript expression validation failed: The data expression is not defined

user513645Oct 5 2017

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.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 2 2017
Added on Oct 5 2017
0 comments
353 views