简体   繁体   中英

dynamic web service calls at runtime

i'm new to SOA and i did some readings but i was not able to answer the following :

i want to call some web services in a specific order. the information needed to call each web service and the order of the call are ONLY known at run time through Database.so the flow would be

  1. connect to database to load the information.
  2. from the loaded information i will call some web services in the right order with the specific parameters (the order of the parameters are also loaded from database). so my question is : can i use BPEL to do that ?

Yes, you might be able to use a combination of while and switch.

The number of times your while loop executes and which of the paths under switch executes in each iteration would be determined based on your database call before the while loop.

See: http://docs.oracle.com/cd/E29597_01/dev.1111/e10224/bp_conditn.htm https://docs.oracle.com/cd/E23943_01/dev.1111/e10224/bp_conditn.htm#SOASE472

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM