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!

OSB10.3 - how to get the size/length of an array returned by a xpath expres

ferpJul 11 2011 — edited Feb 26 2020
Hi all,

I need to set a condition on the size/length of an array returned by a xpath expression.

My xpath expression: $body/*//doc_key_list/order_id[@doc_key_type]

I need to check how many elements are returned by the above xpath expression and only if there ONLY 1 element and that element contains ... I've to process the payload otherwise I have to discard the payload ...

Is there any array len / size function that I could use in my OSB assign action ?

Thanks in advance
ferp
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 8 2011
Added on Jul 11 2011
1 comment
709 views