SOA unit test with more than one operation or XPath expression is failing for Mediator
Last updated on APRIL 14, 2010
Applies to:Oracle SOA Platform - Version: 188.8.131.52.0 to 184.108.40.206.0 - Release: 11gR1 to 11gR1
Information in this document applies to any platform.
On : 220.127.116.11.0 version, User Interface
You have a service with 5 operations which is wired to the mediator and this mediator has 5 routing rules to a database adaptor. Every routing rule has an assign to overrule the xadatasource of the db resource adapter. In the assign you use a DVM lookup which has as input an element of the service. With this value you look up the right datasource.
When you try to test your composite using UnitTest in the EM console the following error occurs:
ORAMED-01002:[Metadata error in assign operation]Metadata Error occurred while assigning to target
"$out.property.jca.db.XADataSourceName" using invalid expression
Possible Fix:Fix the expression. Cause:internal xpath error
When you use a fix value instead of the XPath expression or if you test only one operation it always succeeds.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms