Retrieving or Selecting key/values from Array list without using while loop
We usually make use of while loop to select indexed key/value pair in the middle of execution of BPEL and this is too cumbersome and performance not good. Hence, use the below xpath syntax to get value for the respective key from the array list of key/value pairs.
/client:ArrayTestProcessRequest/client:cust[contains(client:Name,'Siva')]/client:Value
/client:ArrayTestProcessRequest/client:cust[client:Name='Siva']/client:Value
Respective schema would be like:
No comments:
Post a Comment