Data Stitch: Repeating element path does not have a predicate for selecting 1 instance – Warning by Jorge Herreria

Summaryimage

The "Repeating element path does not have a predicate for selecting 1 instance." warning message will come up on some stitch statements; specially on the "Variable" field.   It means the Location Path XPath expression will select more than one instance and then the operation (Append or Assign) will fail at runtime.

In this blog I’ll try to explain how to read the warning and how to fix the expression.

There is a lot of XPath and XSD Schema lingo in this post; however I’ll try to explain it with less lingo that I can. Wish me luck.

Expect twisted humor here and there; more of then than none.

A quote that I like: "If you want to be free, stay anonymous…"

The meaning of the warning

Lets start peeling the onion (warning) into heads and tales and then put it back together… I’m going to use an example and simulate a conversation with you.

The example orchestration the $input_RESPOSE is a Shopping Cart.  The Stitch statement with the warning is trying to assign 123.99 to the item’s price. See the pic below. Read the complete article here.

PaaS Partner Community

For regular information on Oracle PaaS become a member in the PaaS (Integration & Process) Partner Community please register here.

clip_image003 Blog clip_image005 Twitter clip_image004 LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

Technorati Tags: SOA Community,Oracle SOA,Oracle BPM,OPN,Jürgen Kress

About Jürgen Kress
As a middleware expert Jürgen works at Oracle EMEA Alliances and Channels, responsible for Oracle’s EMEA Fusion Middleware partner business. He is the founder of the Oracle SOA & BPM and the WebLogic Partner Communities and the global Oracle Partner Advisory Councils. With more than 5000 members from all over the world the Middleware Partner Community is the most successful and active community at Oracle. Jürgen manages the community with monthly newsletters, webcasts and conferences. He hosts his annual Fusion Middleware Partner Community Forums and the Fusion Middleware Summer Camps, where more than 200 partners get product updates, roadmap insights and hands-on trainings. Supplemented by many web 2.0 tools like twitter, discussion forums, online communities, blogs and wikis. For the SOA & Cloud Symposium by Thomas Erl, Jürgen is a member of the steering board. He is also a frequent speaker at conferences like the SOA & BPM Integration Days, JAX, UKOUG, OUGN, or OOP.

Leave a comment