Handling dynamic binding

8 views
Skip to first unread message

Nariman Ammar

unread,
Jan 14, 2016, 8:33:33 AM1/14/16
to BPELUnit
Hello,
So far, I have used the model to generate processes with import statements.  If I want to generate processes which will bind with services dynamically based on the specifications indicated by the process. How can I do that?
Thanks

Daniel Lübke

unread,
Jan 15, 2016, 12:46:15 PM1/15/16
to BPELUnit
Hi,

for this you need to generate a different BPEL file that uses dynamic partnerlink changes, e.g. like described here (I found no English version quickly): http://www.se.uni-hannover.de/pages/de:tutorials_bpel_ode_dynamicinvoke

Daniel

Nariman Ammar

unread,
Jan 18, 2016, 9:46:55 AM1/18/16
to BPELUnit
Hello,
The link you provided a case where we still hardcode the address for the concrete services. But in some cases, dynamic binding is done through lookup depending on results of a query (e.g. Xpath). I was more interested in such cases. My scenario is more like using an analysis pipeline to perform a task that collects data from several services based on a query submitted by the user.

Daniel Lübke

unread,
Jan 18, 2016, 9:48:57 AM1/18/16
to BPELUnit
Hi,

there is no problem to assemble this request dynamically, e.g. by having the endpoint variable and use a copy in the same or different <assign> activity to copy another URL into it.

Daniel
Reply all
Reply to author
Forward
0 new messages