Welcome to Siva's Blog

~-Scribbles by Sivananda Hanumanthu
My experiences and learnings on Technology, Leadership, Domains, Life and on various topics as a reference!
What you can expect here, it could be something on Java, J2EE, Databases, or altogether on a newer Programming language, Software Engineering Best Practices, Software Architecture, SOA, REST, Web Services, Micro Services, APIs, Technical Architecture, Design, Programming, Cloud, Application Security, Artificial Intelligence, Machine Learning, Big data and Analytics, Integrations, Middleware, Continuous Delivery, DevOps, Cyber Security, Application Security, QA/QE, Automations, Emerging Technologies, B2B, B2C, ERP, SCM, PLM, FinTech, IoT, RegTech or any other domain, Tips & Traps, News, Books, Life experiences, Notes, latest trends and many more...

Thursday, October 20, 2011

Retrieving or Selecting key/values from Array list without using while loop in BPEL


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